Skip to content

Commit 1c64ea2

Browse files
committed
v0.2.0: publish under @valuepacket scope + server restart fix
- SDK/CLI/adapters republished at @valuepacket/* (org created) - Server replay protection survives process restarts via on-chain fallback - CLI version string updated
1 parent 018d519 commit 1c64ea2

7 files changed

Lines changed: 19 additions & 19 deletions

File tree

adapters/eliza/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@williamweishuhn/valuepacket-adapter-eliza",
3-
"version": "0.1.2",
2+
"name": "@valuepacket/adapter-eliza",
3+
"version": "0.2.0",
44
"description": "ElizaOS plugin adapter for ValuePacket — add payment channels to your ElizaOS agents",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
@@ -21,7 +21,7 @@
2121
"src"
2222
],
2323
"dependencies": {
24-
"@williamweishuhn/valuepacket-sdk": "^0.1.1"
24+
"@valuepacket/sdk": "^0.2.0"
2525
},
2626
"peerDependencies": {
2727
"@elizaos/core": "^0.25.0"

adapters/game/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@williamweishuhn/valuepacket-adapter-game",
3-
"version": "0.1.2",
2+
"name": "@valuepacket/adapter-game",
3+
"version": "0.2.0",
44
"description": "G.A.M.E framework adapter for ValuePacket — add payment channels to your G.A.M.E agents",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
@@ -21,7 +21,7 @@
2121
"src"
2222
],
2323
"dependencies": {
24-
"@williamweishuhn/valuepacket-sdk": "^0.1.1"
24+
"@valuepacket/sdk": "^0.2.0"
2525
},
2626
"license": "MIT",
2727
"repository": {

cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@williamweishuhn/valuepacket-cli",
3-
"version": "0.1.2",
2+
"name": "@valuepacket/cli",
3+
"version": "0.2.1",
44
"description": "ValuePacket CLI — the payment protocol for autonomous agents",
55
"type": "module",
66
"main": "dist/index.js",
@@ -63,7 +63,7 @@
6363
"access": "public"
6464
},
6565
"dependencies": {
66-
"@williamweishuhn/valuepacket-sdk": "^0.1.1",
66+
"@valuepacket/sdk": "^0.2.0",
6767
"commander": "^13.0.0",
6868
"viem": "^2.17.0"
6969
},

cli/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const program = new Command();
103103
program
104104
.name('valuepacket')
105105
.description('ValuePacket CLI — the payment protocol for autonomous agents')
106-
.version('0.1.0');
106+
.version('0.2.2');
107107

108108
// ─── register ──────────────────────────────────────────────
109109

@@ -460,7 +460,7 @@ program
460460
log(`Making ${requestCount} requests to ${endpoint}...`);
461461

462462
const { signPaymentProof, createPaymentProofHeader } = await import(
463-
'@williamweishuhn/valuepacket-sdk'
463+
'@valuepacket/sdk'
464464
);
465465

466466
const latencies: number[] = [];
@@ -518,7 +518,7 @@ program
518518
log('');
519519
const totalSpent = BigInt(requestCount) * (depositAmount / BigInt(requestCount));
520520

521-
const { signChannelClose } = await import('@williamweishuhn/valuepacket-sdk');
521+
const { signChannelClose } = await import('@valuepacket/sdk');
522522
const closeSig = await signChannelClose(
523523
walletClient,
524524
channelAddress,

sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@williamweishuhn/valuepacket-sdk",
3-
"version": "0.1.2",
2+
"name": "@valuepacket/sdk",
3+
"version": "0.2.0",
44
"description": "TypeScript SDK for the ValuePacket Protocol — on-chain payment channels for AI agent services",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

services/price-feed/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "@williamweishuhn/valuepacket-service-price-feed",
3-
"version": "0.1.0",
2+
"name": "@valuepacket/service-price-feed",
3+
"version": "0.2.0",
44
"type": "module",
55
"scripts": {
66
"start": "tsx --env-file=.env src/server.ts",
77
"dev": "tsx watch --env-file=.env src/server.ts"
88
},
99
"dependencies": {
10-
"@williamweishuhn/valuepacket-sdk": "*",
11-
"viem": "^2.0.0"
10+
"viem": "^2.0.0",
11+
"@valuepacket/sdk": "^0.2.0"
1212
},
1313
"devDependencies": {
1414
"tsx": "^4.0.0",

services/price-feed/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url';
44
import { dirname, resolve } from 'node:path';
55
import type { IncomingMessage, ServerResponse } from 'node:http';
66
import { recoverTypedDataAddress, createPublicClient, http as viemHttp } from 'viem';
7-
import { PAYMENT_PROOF_TYPE, PAYMENT_CHANNEL_ABI } from '@williamweishuhn/valuepacket-sdk';
7+
import { PAYMENT_PROOF_TYPE, PAYMENT_CHANNEL_ABI } from '@valuepacket/sdk';
88

99
const VERSION = '0.1.0';
1010
const PORT = parseInt(process.env.PORT || '3000', 10);

0 commit comments

Comments
 (0)