starknet 6.1.2 → 6.1.3
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +33 -604
- package/dist/index.global.js +230 -364
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +14 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starknet",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.3",
|
|
4
4
|
"description": "JavaScript library for Starknet",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
|
-
"prepare": "npm run build && husky
|
|
23
|
+
"prepare": "npm run build && husky",
|
|
24
24
|
"build": "tsup && npm run build:esm && npm run build:iife && npm run build:dts",
|
|
25
25
|
"build:esm": "tsup --clean false --format esm --platform node",
|
|
26
26
|
"build:iife": "tsup --clean false --format iife --platform browser",
|
|
27
27
|
"build:dts": "tsup --clean false --dts-only",
|
|
28
28
|
"pretest": "npm run lint && npm run ts:check",
|
|
29
29
|
"test": "jest -i",
|
|
30
|
-
"posttest": "npm run format",
|
|
30
|
+
"posttest": "npm run format -- --log-level warn",
|
|
31
31
|
"test:watch": "jest --watch",
|
|
32
32
|
"docs": "cd www && npm run start",
|
|
33
33
|
"docs:build": "cd www && GIT_REVISION_OVERRIDE=${npm_config_git_revision_override} npm run build",
|
|
34
34
|
"docs:build:version": "v=$(npm run info:version -s) && npm run docs:build --git-revision-override=${npm_config_git_revision_override=v$v}",
|
|
35
35
|
"docs:version": "v=$(npm run info:version -s) && cd www && npm run version ${npm_config_version_override=$v}",
|
|
36
36
|
"info:version": "npm pkg get version | xargs",
|
|
37
|
-
"format": "prettier --
|
|
37
|
+
"format": "prettier --log-level log --write \"**/*.{ts,js,md,yml,json}\"",
|
|
38
38
|
"lint": "eslint . --cache --fix --ext .ts",
|
|
39
39
|
"ts:check": "tsc --noEmit --resolveJsonModule --project tsconfig.eslint.json"
|
|
40
40
|
},
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
|
|
54
54
|
"@babel/preset-env": "^7.18.2",
|
|
55
55
|
"@babel/preset-typescript": "^7.17.12",
|
|
56
|
-
"@commitlint/cli": "^
|
|
57
|
-
"@commitlint/config-conventional": "^
|
|
56
|
+
"@commitlint/cli": "^18.6.0",
|
|
57
|
+
"@commitlint/config-conventional": "^18.6.0",
|
|
58
58
|
"@semantic-release/changelog": "^6.0.1",
|
|
59
|
-
"@semantic-release/commit-analyzer": "^
|
|
59
|
+
"@semantic-release/commit-analyzer": "^11.1.0",
|
|
60
60
|
"@semantic-release/git": "^10.0.1",
|
|
61
|
-
"@semantic-release/npm": "^
|
|
62
|
-
"@semantic-release/release-notes-generator": "^
|
|
63
|
-
"@types/isomorphic-fetch": "^0.0.
|
|
61
|
+
"@semantic-release/npm": "^11.0.2",
|
|
62
|
+
"@semantic-release/release-notes-generator": "^12.1.0",
|
|
63
|
+
"@types/isomorphic-fetch": "^0.0.39",
|
|
64
64
|
"@types/jest": "^29.5.0",
|
|
65
65
|
"@types/jest-json-schema": "^6.1.1",
|
|
66
66
|
"@types/pako": "^2.0.0",
|
|
@@ -72,19 +72,20 @@
|
|
|
72
72
|
"eslint": "^8.56.0",
|
|
73
73
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
74
74
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
75
|
-
"eslint-config-prettier": "^
|
|
75
|
+
"eslint-config-prettier": "^9.1.0",
|
|
76
76
|
"eslint-plugin-import": "^2.26.0",
|
|
77
|
-
"eslint-plugin-prettier": "^
|
|
77
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
78
78
|
"fetch-intercept": "^2.4.0",
|
|
79
|
-
"husky": "^
|
|
79
|
+
"husky": "^9.0.11",
|
|
80
80
|
"import-sort-style-module": "^6.0.0",
|
|
81
81
|
"jest": "^29.5.0",
|
|
82
82
|
"jest-environment-jsdom": "^29.5.0",
|
|
83
83
|
"jest-json-schema": "^6.1.0",
|
|
84
|
-
"lint-staged": "^
|
|
85
|
-
"prettier": "^2.
|
|
84
|
+
"lint-staged": "^15.2.2",
|
|
85
|
+
"prettier": "^3.2.5",
|
|
86
86
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
87
|
-
"
|
|
87
|
+
"semantic-release": "^23.0.2",
|
|
88
|
+
"tsup": "^8.0.2",
|
|
88
89
|
"typedoc": "^0.25.7",
|
|
89
90
|
"typescript": "^5.3.0"
|
|
90
91
|
},
|
|
@@ -92,10 +93,10 @@
|
|
|
92
93
|
"@noble/curves": "~1.3.0",
|
|
93
94
|
"@scure/base": "~1.1.3",
|
|
94
95
|
"@scure/starknet": "~1.0.0",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
96
|
+
"abi-wan-kanabi": "^2.2.1",
|
|
97
|
+
"fetch-cookie": "^3.0.0",
|
|
97
98
|
"isomorphic-fetch": "^3.0.0",
|
|
98
|
-
"lossless-json": "^
|
|
99
|
+
"lossless-json": "^4.0.1",
|
|
99
100
|
"pako": "^2.0.4",
|
|
100
101
|
"ts-mixer": "^6.0.3",
|
|
101
102
|
"url-join": "^4.0.1"
|