@vleap/warps-adapter-multiversx 0.2.0-alpha.1 → 0.2.0-alpha.2

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { TypedValue, Type, OptionValue, OptionalValue, List, VariadicValue, CompositeValue, StringValue, U8Value, U16Value, U32Value, U64Value, BigUIntValue, BooleanValue, AddressValue, TokenIdentifierValue, BytesValue, TokenTransfer, Struct, CodeMetadataValue, NothingValue, TransactionOnNetwork, AbiRegistry, Transaction, NetworkEntrypoint, Address } from '@multiversx/sdk-core';
2
- import { WarpInitConfig, WarpAbi, WarpCacheConfig, WarpContractAction, WarpQueryAction, WarpChainInfo, WarpContract, WarpContractVerification, WarpExecutable, WarpExecution, WarpChainEnv, WarpRegistryConfigInfo, WarpRegistryInfo, Brand, WarpChain, Warp, WarpActionIndex, ResolvedInput, WarpExecutionResults, WarpSerializer, WarpActionInputType, WarpNativeValue, BaseWarpActionInputType } from '@vleap/warps-core';
2
+ import { WarpInitConfig, WarpAbi, WarpCacheConfig, WarpContractAction, WarpQueryAction, WarpChainInfo, WarpContract, WarpContractVerification, WarpExecutable, WarpExecution, WarpChainEnv, WarpRegistryConfigInfo, WarpRegistryInfo, WarpBrand, WarpChain, Warp, WarpActionIndex, ResolvedInput, WarpExecutionResults, WarpSerializer, WarpActionInputType, WarpNativeValue, BaseWarpActionInputType } from '@vleap/warps-core';
3
3
 
4
4
  declare const WarpMultiversxConstants: {
5
5
  Egld: {
@@ -77,19 +77,19 @@ declare class WarpMultiversxRegistry {
77
77
  createWarpBrandingTransaction(warpHash: string, brandHash: string): Transaction;
78
78
  getInfoByAlias(alias: string, cache?: WarpCacheConfig): Promise<{
79
79
  registryInfo: WarpRegistryInfo | null;
80
- brand: Brand | null;
80
+ brand: WarpBrand | null;
81
81
  }>;
82
82
  getInfoByHash(hash: string, cache?: WarpCacheConfig): Promise<{
83
83
  registryInfo: WarpRegistryInfo | null;
84
- brand: Brand | null;
84
+ brand: WarpBrand | null;
85
85
  }>;
86
86
  getUserWarpRegistryInfos(user?: string): Promise<WarpRegistryInfo[]>;
87
- getUserBrands(user?: string): Promise<Brand[]>;
87
+ getUserBrands(user?: string): Promise<WarpBrand[]>;
88
88
  getChainInfos(cache?: WarpCacheConfig): Promise<WarpChainInfo[]>;
89
89
  getChainInfo(chain: WarpChain, cache?: WarpCacheConfig): Promise<WarpChainInfo | null>;
90
90
  setChain(info: WarpChainInfo): Promise<Transaction>;
91
91
  removeChain(chain: WarpChain): Promise<Transaction>;
92
- fetchBrand(hash: string, cache?: WarpCacheConfig): Promise<Brand | null>;
92
+ fetchBrand(hash: string, cache?: WarpCacheConfig): Promise<WarpBrand | null>;
93
93
  getRegistryContractAddress(): Address;
94
94
  private loadRegistryConfigs;
95
95
  private getFactory;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { TypedValue, Type, OptionValue, OptionalValue, List, VariadicValue, CompositeValue, StringValue, U8Value, U16Value, U32Value, U64Value, BigUIntValue, BooleanValue, AddressValue, TokenIdentifierValue, BytesValue, TokenTransfer, Struct, CodeMetadataValue, NothingValue, TransactionOnNetwork, AbiRegistry, Transaction, NetworkEntrypoint, Address } from '@multiversx/sdk-core';
2
- import { WarpInitConfig, WarpAbi, WarpCacheConfig, WarpContractAction, WarpQueryAction, WarpChainInfo, WarpContract, WarpContractVerification, WarpExecutable, WarpExecution, WarpChainEnv, WarpRegistryConfigInfo, WarpRegistryInfo, Brand, WarpChain, Warp, WarpActionIndex, ResolvedInput, WarpExecutionResults, WarpSerializer, WarpActionInputType, WarpNativeValue, BaseWarpActionInputType } from '@vleap/warps-core';
2
+ import { WarpInitConfig, WarpAbi, WarpCacheConfig, WarpContractAction, WarpQueryAction, WarpChainInfo, WarpContract, WarpContractVerification, WarpExecutable, WarpExecution, WarpChainEnv, WarpRegistryConfigInfo, WarpRegistryInfo, WarpBrand, WarpChain, Warp, WarpActionIndex, ResolvedInput, WarpExecutionResults, WarpSerializer, WarpActionInputType, WarpNativeValue, BaseWarpActionInputType } from '@vleap/warps-core';
3
3
 
4
4
  declare const WarpMultiversxConstants: {
5
5
  Egld: {
@@ -77,19 +77,19 @@ declare class WarpMultiversxRegistry {
77
77
  createWarpBrandingTransaction(warpHash: string, brandHash: string): Transaction;
78
78
  getInfoByAlias(alias: string, cache?: WarpCacheConfig): Promise<{
79
79
  registryInfo: WarpRegistryInfo | null;
80
- brand: Brand | null;
80
+ brand: WarpBrand | null;
81
81
  }>;
82
82
  getInfoByHash(hash: string, cache?: WarpCacheConfig): Promise<{
83
83
  registryInfo: WarpRegistryInfo | null;
84
- brand: Brand | null;
84
+ brand: WarpBrand | null;
85
85
  }>;
86
86
  getUserWarpRegistryInfos(user?: string): Promise<WarpRegistryInfo[]>;
87
- getUserBrands(user?: string): Promise<Brand[]>;
87
+ getUserBrands(user?: string): Promise<WarpBrand[]>;
88
88
  getChainInfos(cache?: WarpCacheConfig): Promise<WarpChainInfo[]>;
89
89
  getChainInfo(chain: WarpChain, cache?: WarpCacheConfig): Promise<WarpChainInfo | null>;
90
90
  setChain(info: WarpChainInfo): Promise<Transaction>;
91
91
  removeChain(chain: WarpChain): Promise<Transaction>;
92
- fetchBrand(hash: string, cache?: WarpCacheConfig): Promise<Brand | null>;
92
+ fetchBrand(hash: string, cache?: WarpCacheConfig): Promise<WarpBrand | null>;
93
93
  getRegistryContractAddress(): Address;
94
94
  private loadRegistryConfigs;
95
95
  private getFactory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vleap/warps-adapter-multiversx",
3
- "version": "0.2.0-alpha.1",
3
+ "version": "0.2.0-alpha.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,14 +25,13 @@
25
25
  "jest-fetch-mock": "^3.0.3",
26
26
  "ts-jest": "^29.4.0",
27
27
  "tsup": "^8.5.0",
28
- "typescript": "^5.8.3",
29
- "vm2": "^3.9.19"
28
+ "typescript": "^5.8.3"
30
29
  },
31
30
  "publishConfig": {
32
31
  "access": "public"
33
32
  },
34
33
  "dependencies": {
35
- "@vleap/warps-core": "^0.2.0-alpha.0",
36
- "@multiversx/sdk-core": "^14.2.1"
34
+ "@multiversx/sdk-core": "^14.2.1",
35
+ "@vleap/warps-core": "^0.2.0-alpha.3"
37
36
  }
38
37
  }