@arc402/sdk 0.5.0 → 0.6.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.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/types.js +3 -3
- package/package.json +2 -2
- package/src/index.ts +2 -2
- package/src/types.ts +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export { resolveEndpoint, notifyEndpoint, notifyHire, notifyHandshake, notifyHir
|
|
|
35
35
|
export type { EndpointNotifyResult } from "./endpoint";
|
|
36
36
|
export { DeliveryClient, DEFAULT_DAEMON_URL } from "./delivery";
|
|
37
37
|
export type { DeliveryFile, DeliveryManifest, DeliveryClientOptions } from "./delivery";
|
|
38
|
-
export declare const COMPUTE_AGREEMENT_ADDRESS = "
|
|
39
|
-
export declare const SUBSCRIPTION_AGREEMENT_ADDRESS = "
|
|
38
|
+
export declare const COMPUTE_AGREEMENT_ADDRESS = "0xf898A8A2cF9900A588B174d9f96349BBA95e57F3";
|
|
39
|
+
export declare const SUBSCRIPTION_AGREEMENT_ADDRESS = "0x809c1D997Eab3531Eb2d01FCD5120Ac786D850D6";
|
|
40
40
|
export declare const ARC402_REGISTRY_V2_ADDRESS = "0xcc0D8731ccCf6CFfF4e66F6d68cA86330Ea8B622";
|
|
41
41
|
export declare const ARC402_REGISTRY_V3_ADDRESS = "0x6EafeD4FA103D2De04DDee157e35A8e8df91B6A6";
|
|
42
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ var delivery_1 = require("./delivery");
|
|
|
111
111
|
Object.defineProperty(exports, "DeliveryClient", { enumerable: true, get: function () { return delivery_1.DeliveryClient; } });
|
|
112
112
|
Object.defineProperty(exports, "DEFAULT_DAEMON_URL", { enumerable: true, get: function () { return delivery_1.DEFAULT_DAEMON_URL; } });
|
|
113
113
|
// Base Mainnet contract addresses
|
|
114
|
-
exports.COMPUTE_AGREEMENT_ADDRESS = "
|
|
115
|
-
exports.SUBSCRIPTION_AGREEMENT_ADDRESS = "
|
|
114
|
+
exports.COMPUTE_AGREEMENT_ADDRESS = "0xf898A8A2cF9900A588B174d9f96349BBA95e57F3";
|
|
115
|
+
exports.SUBSCRIPTION_AGREEMENT_ADDRESS = "0x809c1D997Eab3531Eb2d01FCD5120Ac786D850D6";
|
|
116
116
|
exports.ARC402_REGISTRY_V2_ADDRESS = "0xcc0D8731ccCf6CFfF4e66F6d68cA86330Ea8B622";
|
|
117
117
|
exports.ARC402_REGISTRY_V3_ADDRESS = "0x6EafeD4FA103D2De04DDee157e35A8e8df91B6A6";
|
package/dist/types.js
CHANGED
|
@@ -16,11 +16,11 @@ exports.NETWORKS = {
|
|
|
16
16
|
chainId: 8453,
|
|
17
17
|
rpc: "https://mainnet.base.org",
|
|
18
18
|
contracts: {
|
|
19
|
-
policyEngine: "
|
|
19
|
+
policyEngine: "0x9449B15268bE7042C0b473F3f711a41A29220866",
|
|
20
20
|
trustRegistry: "0x22366D6dabb03062Bc0a5E893EfDff15D8E329b1", // TrustRegistryV3 — v2
|
|
21
|
-
intentAttestation: "
|
|
21
|
+
intentAttestation: "0x66585C2F96cAe05EA360F6dBF76bA092A7B87669",
|
|
22
22
|
settlementCoordinator: "0xd52d8Be9728976E0D70C89db9F8ACeb5B5e97cA2", // SettlementCoordinatorV2 ← active
|
|
23
|
-
walletFactory: "
|
|
23
|
+
walletFactory: "0xD067a4bD3F32aB501A71756161C76309d8088915", // WalletFactoryV6 — deployed 2026-03-24
|
|
24
24
|
agentRegistry: "0xD5c2851B00090c92Ba7F4723FB548bb30C9B6865", // AgentRegistry ← discovery directory
|
|
25
25
|
serviceAgreement: "0xC98B402CAB9156da68A87a69E3B4bf167A3CCcF6",
|
|
26
26
|
reputationOracle: "0x359F76a54F9A345546E430e4d6665A7dC9DaECd4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc402/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "ARC-402 typed TypeScript SDK for discovery, negotiation, trust, and governed settlement",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"ts-node": "^10.9.0",
|
|
28
28
|
"typescript": "^5.3.0"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -37,7 +37,7 @@ export { DeliveryClient, DEFAULT_DAEMON_URL } from "./delivery";
|
|
|
37
37
|
export type { DeliveryFile, DeliveryManifest, DeliveryClientOptions } from "./delivery";
|
|
38
38
|
|
|
39
39
|
// Base Mainnet contract addresses
|
|
40
|
-
export const COMPUTE_AGREEMENT_ADDRESS = "
|
|
41
|
-
export const SUBSCRIPTION_AGREEMENT_ADDRESS = "
|
|
40
|
+
export const COMPUTE_AGREEMENT_ADDRESS = "0xf898A8A2cF9900A588B174d9f96349BBA95e57F3";
|
|
41
|
+
export const SUBSCRIPTION_AGREEMENT_ADDRESS = "0x809c1D997Eab3531Eb2d01FCD5120Ac786D850D6";
|
|
42
42
|
export const ARC402_REGISTRY_V2_ADDRESS = "0xcc0D8731ccCf6CFfF4e66F6d68cA86330Ea8B622";
|
|
43
43
|
export const ARC402_REGISTRY_V3_ADDRESS = "0x6EafeD4FA103D2De04DDee157e35A8e8df91B6A6";
|
package/src/types.ts
CHANGED
|
@@ -82,11 +82,11 @@ export const NETWORKS: Record<string, NetworkConfig> = {
|
|
|
82
82
|
chainId: 8453,
|
|
83
83
|
rpc: "https://mainnet.base.org",
|
|
84
84
|
contracts: {
|
|
85
|
-
policyEngine: "
|
|
85
|
+
policyEngine: "0x9449B15268bE7042C0b473F3f711a41A29220866",
|
|
86
86
|
trustRegistry: "0x22366D6dabb03062Bc0a5E893EfDff15D8E329b1", // TrustRegistryV3 — v2
|
|
87
|
-
intentAttestation: "
|
|
87
|
+
intentAttestation: "0x66585C2F96cAe05EA360F6dBF76bA092A7B87669",
|
|
88
88
|
settlementCoordinator: "0xd52d8Be9728976E0D70C89db9F8ACeb5B5e97cA2", // SettlementCoordinatorV2 ← active
|
|
89
|
-
walletFactory: "
|
|
89
|
+
walletFactory: "0xD067a4bD3F32aB501A71756161C76309d8088915", // WalletFactoryV6 — deployed 2026-03-24
|
|
90
90
|
agentRegistry: "0xD5c2851B00090c92Ba7F4723FB548bb30C9B6865", // AgentRegistry ← discovery directory
|
|
91
91
|
serviceAgreement: "0xC98B402CAB9156da68A87a69E3B4bf167A3CCcF6",
|
|
92
92
|
reputationOracle: "0x359F76a54F9A345546E430e4d6665A7dC9DaECd4",
|