@arkiv-network/sdk 0.2.0 → 0.3.1

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.
@@ -1,4 +1,4 @@
1
- import * as viem8 from "viem";
1
+ import * as viem0 from "viem";
2
2
 
3
3
  //#region src/chains/kaolin.d.ts
4
4
  declare const kaolin: {
@@ -11,13 +11,13 @@ declare const kaolin: {
11
11
  };
12
12
  blockTime?: number | undefined | undefined;
13
13
  contracts?: {
14
- [x: string]: viem8.ChainContract | {
15
- [sourceId: number]: viem8.ChainContract | undefined;
14
+ [x: string]: viem0.ChainContract | {
15
+ [sourceId: number]: viem0.ChainContract | undefined;
16
16
  } | undefined;
17
- ensRegistry?: viem8.ChainContract | undefined;
18
- ensUniversalResolver?: viem8.ChainContract | undefined;
19
- multicall3?: viem8.ChainContract | undefined;
20
- erc6492Verifier?: viem8.ChainContract | undefined;
17
+ ensRegistry?: viem0.ChainContract | undefined;
18
+ ensUniversalResolver?: viem0.ChainContract | undefined;
19
+ multicall3?: viem0.ChainContract | undefined;
20
+ erc6492Verifier?: viem0.ChainContract | undefined;
21
21
  } | undefined;
22
22
  ensTlds?: readonly string[] | undefined;
23
23
  id: 60138453025;
@@ -37,9 +37,9 @@ declare const kaolin: {
37
37
  sourceId?: number | undefined | undefined;
38
38
  testnet: true;
39
39
  custom?: Record<string, unknown> | undefined;
40
- fees?: viem8.ChainFees<undefined> | undefined;
40
+ fees?: viem0.ChainFees<undefined> | undefined;
41
41
  formatters?: undefined;
42
- serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
42
+ serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
43
43
  readonly network: "kaolin";
44
44
  };
45
45
  //#endregion
@@ -59,13 +59,13 @@ declare const localhost: {
59
59
  } | undefined | undefined;
60
60
  blockTime?: number | undefined | undefined;
61
61
  contracts?: {
62
- [x: string]: viem8.ChainContract | {
63
- [sourceId: number]: viem8.ChainContract | undefined;
62
+ [x: string]: viem0.ChainContract | {
63
+ [sourceId: number]: viem0.ChainContract | undefined;
64
64
  } | undefined;
65
- ensRegistry?: viem8.ChainContract | undefined;
66
- ensUniversalResolver?: viem8.ChainContract | undefined;
67
- multicall3?: viem8.ChainContract | undefined;
68
- erc6492Verifier?: viem8.ChainContract | undefined;
65
+ ensRegistry?: viem0.ChainContract | undefined;
66
+ ensUniversalResolver?: viem0.ChainContract | undefined;
67
+ multicall3?: viem0.ChainContract | undefined;
68
+ erc6492Verifier?: viem0.ChainContract | undefined;
69
69
  } | undefined;
70
70
  ensTlds?: readonly string[] | undefined;
71
71
  id: 1337;
@@ -84,9 +84,9 @@ declare const localhost: {
84
84
  sourceId?: number | undefined | undefined;
85
85
  testnet?: boolean | undefined | undefined;
86
86
  custom?: Record<string, unknown> | undefined;
87
- fees?: viem8.ChainFees<undefined> | undefined;
87
+ fees?: viem0.ChainFees<undefined> | undefined;
88
88
  formatters?: undefined;
89
- serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
89
+ serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
90
90
  };
91
91
  //#endregion
92
92
  //#region src/chains/marketplace.d.ts
@@ -100,13 +100,13 @@ declare const marketplace: {
100
100
  };
101
101
  blockTime?: number | undefined | undefined;
102
102
  contracts?: {
103
- [x: string]: viem8.ChainContract | {
104
- [sourceId: number]: viem8.ChainContract | undefined;
103
+ [x: string]: viem0.ChainContract | {
104
+ [sourceId: number]: viem0.ChainContract | undefined;
105
105
  } | undefined;
106
- ensRegistry?: viem8.ChainContract | undefined;
107
- ensUniversalResolver?: viem8.ChainContract | undefined;
108
- multicall3?: viem8.ChainContract | undefined;
109
- erc6492Verifier?: viem8.ChainContract | undefined;
106
+ ensRegistry?: viem0.ChainContract | undefined;
107
+ ensUniversalResolver?: viem0.ChainContract | undefined;
108
+ multicall3?: viem0.ChainContract | undefined;
109
+ erc6492Verifier?: viem0.ChainContract | undefined;
110
110
  } | undefined;
111
111
  ensTlds?: readonly string[] | undefined;
112
112
  id: 60138453027;
@@ -126,9 +126,9 @@ declare const marketplace: {
126
126
  sourceId?: number | undefined | undefined;
127
127
  testnet: true;
128
128
  custom?: Record<string, unknown> | undefined;
129
- fees?: viem8.ChainFees<undefined> | undefined;
129
+ fees?: viem0.ChainFees<undefined> | undefined;
130
130
  formatters?: undefined;
131
- serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
131
+ serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
132
132
  readonly network: "marketplace";
133
133
  };
134
134
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/utils/expirationTime.ts","../../src/utils/payload.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;EAAA,SAAA,EAAA,CAAA,KAUZ,EAAA,MAAA,EAAA,GADkB,MAAI;;;;ECTP,SAAA,EAAA,CAAA,KAAa,EAAA,MAAA,EAAA,GAAgB,MAAA;EAI7B,UAAA,EAAA,CAAA,MAAe,EAAA,MAAA,EAAA,GAAgB,MAAA;mBDK5B;;;;iBCTH,aAAA,gBAA6B;iBAI7B,eAAA,gBAA+B"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/utils/expirationTime.ts","../../src/utils/payload.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;EAAA,SAAA,EAAA,CAAA,KAUZ,EAAA,MAAA,EAAA,GADkB,MAAI;;;;ECTP,SAAA,EAAA,CAAA,KAAa,EAAA,MAAA,EAAgB,GAAA,MAAA;EAI7B,UAAA,EAAA,CAAA,MAAe,EAAA,MAAA,EAAgB,GAAA,MAAA;mBDK5B;;;;iBCTH,aAAA,gBAA6B;iBAI7B,eAAA,gBAA+B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/utils/expirationTime.ts","../../src/utils/payload.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;EAAA,SAAA,EAAA,CAAA,KAUZ,EAAA,MAAA,EAAA,GADkB,MAAI;;;;ECTP,SAAA,EAAA,CAAA,KAAa,EAAA,MAAA,EAAgB,GAAA,MAAA;EAI7B,UAAA,EAAA,CAAA,MAAe,EAAA,MAAA,EAAgB,GAAA,MAAA;mBDK5B;;;;iBCTH,aAAA,gBAA6B;iBAI7B,eAAA,gBAA+B"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/utils/expirationTime.ts","../../src/utils/payload.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;EAAA,SAAA,EAAA,CAAA,KAUZ,EAAA,MAAA,EAAA,GADkB,MAAI;;;;ECTP,SAAA,EAAA,CAAA,KAAa,EAAA,MAAA,EAAA,GAAgB,MAAA;EAI7B,UAAA,EAAA,CAAA,MAAe,EAAA,MAAA,EAAA,GAAgB,MAAA;mBDK5B;;;;iBCTH,aAAA,gBAA6B;iBAI7B,eAAA,gBAA+B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkiv-network/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "TypeScript client library for Arkiv's blockchains interactions",
5
5
  "type": "module",
6
6
  "target": "esnext",
@@ -76,10 +76,12 @@
76
76
  "package": "rimraf arkiv-network-sdk-*.tgz && bun run build && bun pm pack --no-cache",
77
77
  "package:test": "bun run package && mv arkiv-network-sdk-*.tgz arkiv-network-sdk-latest.tgz",
78
78
  "prepublishOnly": "bun run build && bun run package && mv arkiv-network-sdk-*.tgz arkiv-network-sdk-latest.tgz",
79
+ "version:prerelease": "npm version prerelease --preid=dev",
80
+ "version:release": "npm version --allow-same-version $(node -p \"require('./package.json').version.replace(/-.*$/, '')\")",
79
81
  "publish-main": "npm publish ./arkiv-network-sdk-latest.tgz --access public",
80
82
  "publish-main:dry": "npm publish ./arkiv-network-sdk-latest.tgz --access public --dry-run",
81
- "publish-dev": "npm version prerelease --preid=dev && npm publish ./arkiv-network-sdk-latest.tgz --access public --tag dev",
82
- "publish-dev:dry": "npm version prerelease --preid=dev && npm publish ./arkiv-network-sdk-latest.tgz --access public --tag dev --dry-run"
83
+ "publish-dev": "npm publish ./arkiv-network-sdk-latest.tgz --access public --tag dev",
84
+ "publish-dev:dry": "npm publish ./arkiv-network-sdk-latest.tgz --access public --tag dev --dry-run"
83
85
  },
84
86
  "devDependencies": {
85
87
  "@biomejs/biome": "2.2.4",