Skip to content

Commit

Permalink
Merge pull request #370 from dajiaji/update-cloudflare-test-dep
Browse files Browse the repository at this point in the history
Refine dependencies for cloudflare test.
  • Loading branch information
dajiaji authored Sep 1, 2024
2 parents 1679e39 + 049f4fb commit fd58cbe
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions x/chacha20poly1305/test/runtimes/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"deploy": "wrangler publish"
},
"dependencies": {
"@hpke/core": "file:../../../../../npm-packages/x/core/hpke-core-1.3.0.tgz",
"@hpke/chacha20poly1305": "file:../../../../../npm-packages/x/chacha20poly1305/hpke-chacha20poly1305-1.3.0.tgz"
"@hpke/chacha20poly1305": "^1.3.0",
"@hpke/core": "^1.3.0"
}
}
4 changes: 2 additions & 2 deletions x/dhkem-secp256k1/test/runtimes/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"deploy": "wrangler publish"
},
"dependencies": {
"@hpke/core": "npm:@hpke/core@^1.3.0",
"@hpke/dhkem-secp256k1": "npm:@hpke/dhkem-secp256k1@^1.3.0"
"@hpke/core": "^1.3.0",
"@hpke/dhkem-secp256k1": "^1.3.0"
}
}
4 changes: 2 additions & 2 deletions x/dhkem-x25519/test/runtimes/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"deploy": "wrangler publish"
},
"dependencies": {
"@hpke/core": "file:../../../../../npm-packages/x/core/hpke-core-1.3.0.tgz",
"@hpke/dhkem-x25519": "file:../../../../../npm-packages/x/dhkem-x25519/hpke-dhkem-x25519-1.3.0.tgz"
"@hpke/core": "^1.3.0",
"@hpke/dhkem-x25519": "^1.3.0"
}
}
4 changes: 2 additions & 2 deletions x/dhkem-x448/test/runtimes/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"deploy": "wrangler publish"
},
"dependencies": {
"@hpke/core": "file:../../../../../npm-packages/x/core/hpke-core-1.3.0.tgz",
"@hpke/dhkem-x448": "file:../../../../../npm-packages/x/dhkem-x448/hpke-dhkem-x448-1.3.0.tgz"
"@hpke/core": "^1.3.0",
"@hpke/dhkem-x448": "^1.3.0"
}
}
2 changes: 1 addition & 1 deletion x/hpke-js/test/runtimes/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"deploy": "wrangler publish"
},
"dependencies": {
"@hpke/hpke-js": "file:../../../../../npm-packages/x/hpke-js/hpke-js-1.3.0.tgz"
"hpke-js": "^1.3.0"
}
}
2 changes: 1 addition & 1 deletion x/hpke-js/test/runtimes/cloudflare/src/server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CipherSuite } from "@hpke/hpke-js";
import { CipherSuite } from "hpke-js";

export async function testServer(request: Request): Promise<Response> {
const url = new URL(request.url);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"deploy": "wrangler publish"
},
"dependencies": {
"@hpke/core": "file:../../../../../npm-packages/x/core/hpke-core-1.3.0.tgz",
"@hpke/hybridkem-x25519-kyber768": "file:../../../../../npm-packages/x/hybridkem-x25519-kyber768/hpke-hybridkem-x25519-kyber768-1.3.0.tgz"
"@hpke/core": "^1.3.0",
"@hpke/hybridkem-x25519-kyber768": "^1.3.0"
}
}

0 comments on commit fd58cbe

Please sign in to comment.