zipy-for-rd
v0.0.1
Published
SDK for zipy
Downloads
37
Readme
ZIPY SDK
The Javascript SDK for Zipy
Installation
npm i zipyai
Usage
import zipy from "zipyai";
Note: 1. Make sure you have install `brotli`, we are using it compress the build files
2. While releasing npm package, make sure you change `isNPM` to `true` in config.json
zipy.init("<app-id>");
- Run
npm run build
- brotli -k dist/zipy.min.umd.js
- cp dist/zipy.min.umd.js.br dist/zipy.min.umd.js
- Open bucket in which we have to upload SDK (create version folder first if not exist)
- Create changelog.txt, update the file with release changes and upload to a bucket.
- Upload SDK and map file in buckets (newly generated in the root folder:
./zipy.min.umd.js
) - Change edit metadata of SDK, enter
content-encoding
tobr
- Change edit metadata of SDK, enter
cache-control
topublic, max-age=3600