@cloakely/sdk 0.4.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/README.md +14 -8
- package/dist/abis.d.ts +786 -0
- package/dist/abis.js +1016 -0
- package/dist/bytecode.d.ts +5 -2
- package/dist/bytecode.js +1 -1
- package/dist/cloak.d.ts +132 -2
- package/dist/cloak.js +59 -31
- package/dist/deployments.d.ts +10 -0
- package/dist/deployments.js +14 -3
- package/dist/private/client.d.ts +44 -1
- package/dist/private/client.js +129 -2
- package/dist/private/crypto.d.ts +6 -0
- package/dist/private/crypto.js +8 -0
- package/dist/registry.d.ts +2 -0
- package/dist/registry.js +1 -0
- package/package.json +1 -1
package/dist/registry.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export interface CloakRegistry {
|
|
|
39
39
|
migrator?: Address;
|
|
40
40
|
factory: Address;
|
|
41
41
|
factoryBlock: bigint;
|
|
42
|
+
/** Earlier factories of the current version (a factory added next to the first), newest first. */
|
|
43
|
+
earlierFactories: Address[];
|
|
42
44
|
/** Earlier deployments, newest first. */
|
|
43
45
|
previous: RegistryVersion[];
|
|
44
46
|
}
|
package/dist/registry.js
CHANGED
|
@@ -34,6 +34,7 @@ export async function readRegistry(publicClient, config) {
|
|
|
34
34
|
migrator: newest("migrator", router.version)?.addr,
|
|
35
35
|
factory: factory.addr,
|
|
36
36
|
factoryBlock: factory.startBlock,
|
|
37
|
+
earlierFactories: entries.filter((e) => e.kind === "factory" && e.version === factory.version && e.addr !== factory.addr).reverse().map((e) => e.addr),
|
|
37
38
|
previous: versions.map((v) => {
|
|
38
39
|
const r = newest("router", v);
|
|
39
40
|
const b = newest("batcher", v);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloakely/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Cloak on Elysium: sealed-bid token launches and private trading (shielded balances, private swaps, batch auctions, private sends) with on-device zero-knowledge proofs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloak",
|