@vleap/warps 3.0.0-alpha.52 → 3.0.0-alpha.54
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.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -31,6 +31,7 @@ type Warp = {
|
|
|
31
31
|
meta?: WarpMeta;
|
|
32
32
|
};
|
|
33
33
|
type WarpMeta = {
|
|
34
|
+
chain: WarpChain;
|
|
34
35
|
hash: string;
|
|
35
36
|
creator: string;
|
|
36
37
|
createdAt: string;
|
|
@@ -291,6 +292,7 @@ interface AdapterWarpSerializer {
|
|
|
291
292
|
}
|
|
292
293
|
interface AdapterWarpRegistry {
|
|
293
294
|
init(): Promise<void>;
|
|
295
|
+
getRegistryConfig(): WarpRegistryConfigInfo;
|
|
294
296
|
createWarpRegisterTransaction(txHash: string, alias?: string | null, brand?: string | null): WarpAdapterGenericTransaction;
|
|
295
297
|
createWarpUnregisterTransaction(txHash: string): WarpAdapterGenericTransaction;
|
|
296
298
|
createWarpUpgradeTransaction(alias: string, txHash: string): WarpAdapterGenericTransaction;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ type Warp = {
|
|
|
31
31
|
meta?: WarpMeta;
|
|
32
32
|
};
|
|
33
33
|
type WarpMeta = {
|
|
34
|
+
chain: WarpChain;
|
|
34
35
|
hash: string;
|
|
35
36
|
creator: string;
|
|
36
37
|
createdAt: string;
|
|
@@ -291,6 +292,7 @@ interface AdapterWarpSerializer {
|
|
|
291
292
|
}
|
|
292
293
|
interface AdapterWarpRegistry {
|
|
293
294
|
init(): Promise<void>;
|
|
295
|
+
getRegistryConfig(): WarpRegistryConfigInfo;
|
|
294
296
|
createWarpRegisterTransaction(txHash: string, alias?: string | null, brand?: string | null): WarpAdapterGenericTransaction;
|
|
295
297
|
createWarpUnregisterTransaction(txHash: string): WarpAdapterGenericTransaction;
|
|
296
298
|
createWarpUpgradeTransaction(alias: string, txHash: string): WarpAdapterGenericTransaction;
|