@witnium-tech/witniumchain 0.6.1 → 0.7.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/dist/index.d.mts +158 -2
- package/dist/index.d.ts +158 -2
- package/dist/index.js +63 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@witnium-tech/witniumchain",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "TypeScript SDK for WitniumChain — identity, billing, OAuth, witness writes (v5), key management, and chain-api read surfaces (contracts, witnesses, wallets, transactions, dashboards). Single canonical SDK; supersedes @witnium-tech/accounts-sdk and @witnium-tech/chain-sdk-v5.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"openapi:sync": "npm run openapi:sync:accounts && npm run openapi:sync:chain",
|
|
32
32
|
"openapi:sync:accounts": "openapi-typescript specs/accounts.openapi.json -o src/generated/accounts.ts",
|
|
33
33
|
"openapi:sync:chain": "openapi-typescript specs/chain-api.openapi.json -o src/generated/chain.ts",
|
|
34
|
-
"openapi:refresh:accounts": "cp
|
|
34
|
+
"openapi:refresh:accounts": "cp ../../../../witniumchain-accounts/public/openapi.json specs/accounts.openapi.json",
|
|
35
35
|
"openapi:refresh:chain": "cp ../../public/openapi.json specs/chain-api.openapi.json",
|
|
36
36
|
"openapi:refresh": "npm run openapi:refresh:accounts && npm run openapi:refresh:chain && npm run openapi:sync",
|
|
37
37
|
"openapi:check": "npm run openapi:sync && git diff --exit-code -- src/generated/accounts.ts src/generated/chain.ts",
|