@monerium/sdk 2.0.0-alpha.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -9
- package/dist/index.es.js +780 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +794 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +41 -24
- package/LICENSE +0 -21
- package/esm/_dnt.shims.js +0 -76
- package/esm/deps/deno.land/std@0.168.0/encoding/base64.js +0 -140
- package/esm/deps/deno.land/std@0.168.0/encoding/base64url.js +0 -65
- package/esm/mod.js +0 -1
- package/esm/package.json +0 -3
- package/esm/src/client.js +0 -139
- package/esm/src/config.js +0 -13
- package/esm/src/types.js +0 -73
- package/script/_dnt.shims.js +0 -88
- package/script/deps/deno.land/std@0.168.0/encoding/base64.js +0 -168
- package/script/deps/deno.land/std@0.168.0/encoding/base64url.js +0 -93
- package/script/mod.js +0 -5
- package/script/package.json +0 -3
- package/script/src/client.js +0 -166
- package/script/src/config.js +0 -16
- package/script/src/types.js +0 -76
- package/types/_dnt.shims.d.ts +0 -18
- package/types/deps/deno.land/std@0.168.0/encoding/base64.d.ts +0 -11
- package/types/deps/deno.land/std@0.168.0/encoding/base64url.d.ts +0 -10
- package/types/mod.d.ts +0 -1
- package/types/src/client.d.ts +0 -19
- package/types/src/config.d.ts +0 -3
- package/types/src/types.d.ts +0 -266
package/README.md
CHANGED
|
@@ -8,21 +8,29 @@ that may change the behavior of your application before you upgrade._
|
|
|
8
8
|
## Installing
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
# Node
|
|
11
|
+
# Node
|
|
12
12
|
yarn add @monerium/sdk
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Developing
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
them:
|
|
17
|
+
## Usage
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
deno test --allow-net=api.monerium.dev
|
|
24
|
-
```
|
|
19
|
+
- `start`: Run Vite in host mode for a local development environment (not included in production build)
|
|
20
|
+
- `watch`: Run Vite in watch mode to detect changes to files during development
|
|
21
|
+
- `build`: Run Vite to build a production release distributable
|
|
25
22
|
|
|
26
23
|
## Publishing
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
Update your `package.json` to next version number, and remember to tag a release.
|
|
26
|
+
|
|
27
|
+
Once ready to submit your package to the NPM Registry, execute the following tasks via `yarn`:
|
|
28
|
+
|
|
29
|
+
- `yarn clean` — Assure a clean build
|
|
30
|
+
- `yarn build` — Build the package
|
|
31
|
+
|
|
32
|
+
Submit your package to the registry:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
yarn publish
|
|
36
|
+
```
|