@arkiv-network/sdk 0.1.3-dev.1 → 0.2.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/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Arkiv Network
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # arkivjs
2
2
 
3
- A TypeScript client library for GolemDB/Arkiv blockchain interactions.
3
+ A TypeScript client library for Arkiv's blockchains interactions.
4
4
 
5
5
  ## Installation
6
6
 
@@ -1,4 +1,4 @@
1
- import * as viem0 from "viem";
1
+ import * as viem8 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]: viem0.ChainContract | {
15
- [sourceId: number]: viem0.ChainContract | undefined;
14
+ [x: string]: viem8.ChainContract | {
15
+ [sourceId: number]: viem8.ChainContract | undefined;
16
16
  } | undefined;
17
- ensRegistry?: viem0.ChainContract | undefined;
18
- ensUniversalResolver?: viem0.ChainContract | undefined;
19
- multicall3?: viem0.ChainContract | undefined;
20
- erc6492Verifier?: viem0.ChainContract | undefined;
17
+ ensRegistry?: viem8.ChainContract | undefined;
18
+ ensUniversalResolver?: viem8.ChainContract | undefined;
19
+ multicall3?: viem8.ChainContract | undefined;
20
+ erc6492Verifier?: viem8.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?: viem0.ChainFees<undefined> | undefined;
40
+ fees?: viem8.ChainFees<undefined> | undefined;
41
41
  formatters?: undefined;
42
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
42
+ serializers?: viem8.ChainSerializers<undefined, viem8.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]: viem0.ChainContract | {
63
- [sourceId: number]: viem0.ChainContract | undefined;
62
+ [x: string]: viem8.ChainContract | {
63
+ [sourceId: number]: viem8.ChainContract | undefined;
64
64
  } | undefined;
65
- ensRegistry?: viem0.ChainContract | undefined;
66
- ensUniversalResolver?: viem0.ChainContract | undefined;
67
- multicall3?: viem0.ChainContract | undefined;
68
- erc6492Verifier?: viem0.ChainContract | undefined;
65
+ ensRegistry?: viem8.ChainContract | undefined;
66
+ ensUniversalResolver?: viem8.ChainContract | undefined;
67
+ multicall3?: viem8.ChainContract | undefined;
68
+ erc6492Verifier?: viem8.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?: viem0.ChainFees<undefined> | undefined;
87
+ fees?: viem8.ChainFees<undefined> | undefined;
88
88
  formatters?: undefined;
89
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
89
+ serializers?: viem8.ChainSerializers<undefined, viem8.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]: viem0.ChainContract | {
104
- [sourceId: number]: viem0.ChainContract | undefined;
103
+ [x: string]: viem8.ChainContract | {
104
+ [sourceId: number]: viem8.ChainContract | undefined;
105
105
  } | undefined;
106
- ensRegistry?: viem0.ChainContract | undefined;
107
- ensUniversalResolver?: viem0.ChainContract | undefined;
108
- multicall3?: viem0.ChainContract | undefined;
109
- erc6492Verifier?: viem0.ChainContract | undefined;
106
+ ensRegistry?: viem8.ChainContract | undefined;
107
+ ensUniversalResolver?: viem8.ChainContract | undefined;
108
+ multicall3?: viem8.ChainContract | undefined;
109
+ erc6492Verifier?: viem8.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?: viem0.ChainFees<undefined> | undefined;
129
+ fees?: viem8.ChainFees<undefined> | undefined;
130
130
  formatters?: undefined;
131
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
131
+ serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
132
132
  readonly network: "marketplace";
133
133
  };
134
134
  //#endregion
@@ -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,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.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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arkiv-network/sdk",
3
- "version": "0.1.3-dev.1",
4
- "description": "TypeScript-only client library for Arkiv blockchain interactions",
3
+ "version": "0.2.0",
4
+ "description": "TypeScript client library for Arkiv's blockchains interactions",
5
5
  "type": "module",
6
6
  "target": "esnext",
7
7
  "main": "./dist/index.cjs",
@@ -111,6 +111,7 @@
111
111
  "type": "git",
112
112
  "url": "https://github.com/Arkiv-Network/arkiv-sdk-js.git"
113
113
  },
114
+ "homepage": "https://arkiv.network",
114
115
  "dependencies": {
115
116
  "brotli-wasm": "^3.0.1",
116
117
  "viem": "^2.38.2"