@stacks/storage 3.2.1-alpha.0 → 3.4.1-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/storage",
3
- "version": "3.2.1-alpha.0",
3
+ "version": "3.4.1-beta.0",
4
4
  "description": "Stacks storage library",
5
5
  "author": "yknl <yukanliao@gmail.com>",
6
6
  "homepage": "https://blockstack.org",
@@ -15,10 +15,11 @@
15
15
  },
16
16
  "scripts": {
17
17
  "start": "tsc -b tsconfig.build.json --watch --verbose",
18
- "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd",
18
+ "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:polyfill",
19
19
  "build:cjs": "tsc -b tsconfig.build.json",
20
20
  "build:esm": "tsc -p tsconfig.build.json --module ES6 --outDir ./dist/esm",
21
- "build:umd": "webpack --config webpack.config.js",
21
+ "build:umd": "NODE_OPTIONS=--max-old-space-size=8192 webpack --config webpack.config.js",
22
+ "build:polyfill": "NODE_OPTIONS=--max-old-space-size=8192 rollup -c ../../configs/rollup.config.js && rimraf dist/polyfill/dist",
22
23
  "clean": "rimraf dist && tsc -b tsconfig.build.json --clean",
23
24
  "typecheck": "tsc --noEmit",
24
25
  "typecheck:watch": "npm run typecheck -- --watch",
@@ -31,9 +32,9 @@
31
32
  "url": "https://github.com/blockstack/blockstack.js/issues"
32
33
  },
33
34
  "dependencies": {
34
- "@stacks/auth": "^3.2.1-alpha.0",
35
- "@stacks/common": "^3.2.1-alpha.0",
36
- "@stacks/encryption": "^3.2.1-alpha.0",
35
+ "@stacks/auth": "^3.4.1-beta.0",
36
+ "@stacks/common": "^3.4.1-beta.0",
37
+ "@stacks/encryption": "^3.4.1-beta.0",
37
38
  "bitcoinjs-lib": "^5.2.0",
38
39
  "jsontokens": "^3.0.0"
39
40
  },
@@ -44,20 +45,25 @@
44
45
  "jest-fetch-mock": "^3.0.3",
45
46
  "jest-module-name-mapper": "^0.1.5",
46
47
  "jsdom": "^16.5.3",
48
+ "process": "^0.11.10",
47
49
  "rimraf": "^3.0.2",
48
50
  "stream-browserify": "^3.0.0",
49
51
  "ts-jest": "^26.5.5",
50
52
  "ts-loader": "^9.1.1",
51
53
  "typescript": "^4.2.4",
52
54
  "webpack": "^5.36.1",
55
+ "webpack-bundle-analyzer": "^4.5.0",
53
56
  "webpack-cli": "^4.6.0"
54
57
  },
55
58
  "sideEffects": false,
56
59
  "typings": "dist/index.d.ts",
57
60
  "main": "dist/index.js",
58
61
  "module": "dist/esm/index.js",
59
- "browser": "dist/index.umd.js",
60
- "umd:main": "dist/index.umd.js",
61
- "unpkg": "dist/index.umd.js",
62
- "gitHead": "46603eb7dfed1a6a57870d0c45273140bd3f035c"
62
+ "browser": {
63
+ "dist/esm/index.js": "dist/polyfill/index.js",
64
+ "stream": false
65
+ },
66
+ "umd:main": "dist/umd/index.js",
67
+ "unpkg": "dist/umd/index.js",
68
+ "gitHead": "dc2aa87e139b6009cf859a7e0d074c03f33b9b7a"
63
69
  }