emblem-vault-sdk 1.4.2 → 1.4.4
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/dist/bundle.js +1 -1
- package/dist/curated/metadata.json +684176 -0
- package/dist/index.js +109 -18
- package/dist/utils.js +514 -0
- package/docs/bundle.js +1 -1
- package/package.json +2 -2
- package/script/version.js +1 -1
- package/tsconfig.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emblem-vault-sdk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test:all": "npm run test:node && npm run test:browser",
|
|
14
14
|
"build": "tsc && npm run postbuild",
|
|
15
15
|
"postbuild": "node ./script/version.js",
|
|
16
|
-
"bundle": "npm run build && browserify
|
|
16
|
+
"bundle": "npm run build && browserify dist/index.js -o dist/bundle.js && cp dist/bundle.js docs/bundle.js",
|
|
17
17
|
"watch": "onchange 'src/*.ts' -- npm run bundle"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [],
|
package/script/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const fs = require('fs');
|
|
2
2
|
const packageJson = require('../package.json');
|
|
3
3
|
|
|
4
|
-
const sdkFile = './
|
|
4
|
+
const sdkFile = './dist/index.js'; // Adjust the path as necessary
|
|
5
5
|
let sdkCode = fs.readFileSync(sdkFile, 'utf8');
|
|
6
6
|
sdkCode = sdkCode.replace('__SDK_VERSION__', packageJson.version);
|
|
7
7
|
|
package/tsconfig.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"strict": true, /* Enable all strict type-checking options. */
|
|
8
8
|
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
|
|
9
9
|
"resolveJsonModule": true, /* Include this to allow importing of .json files. */
|
|
10
|
-
"outDir": "./
|
|
10
|
+
"outDir": "./dist" /* Redirect output structure to the directory. */
|
|
11
11
|
},
|
|
12
12
|
"exclude": ["**/*.test.ts"]
|
|
13
13
|
}
|