@magic-ext/tezos 2.0.0 → 3.1.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/CHANGELOG.md +48 -0
- package/README.md +2 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +7 -1
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +7 -1
- package/dist/es/index.mjs +2 -0
- package/dist/es/index.mjs.map +7 -0
- package/dist/extension.js +2 -1
- package/dist/react-native/index.native.js +1 -1
- package/dist/react-native/index.native.js.map +7 -1
- package/dist/types/index.cdn.d.ts +2 -2
- package/dist/types/index.d.ts +26 -26
- package/dist/types/index.native.d.ts +1 -0
- package/dist/types/type.d.ts +7 -0
- package/package.json +5 -5
- package/dist/modern/index.mjs +0 -2
- package/dist/modern/index.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
+
# v3.1.0 (Mon Mar 07 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki))
|
|
6
|
+
|
|
7
|
+
#### 🏠 Internal
|
|
8
|
+
|
|
9
|
+
- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki))
|
|
10
|
+
|
|
11
|
+
#### Authors: 1
|
|
12
|
+
|
|
13
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# v3.0.1 (Tue Jan 25 2022)
|
|
18
|
+
|
|
19
|
+
#### 🐛 Bug Fix
|
|
20
|
+
|
|
21
|
+
- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki))
|
|
22
|
+
- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki))
|
|
23
|
+
|
|
24
|
+
#### Authors: 1
|
|
25
|
+
|
|
26
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# v3.0.0 (Tue Jan 25 2022)
|
|
31
|
+
|
|
32
|
+
#### 💥 Breaking Change
|
|
33
|
+
|
|
34
|
+
- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki))
|
|
35
|
+
|
|
36
|
+
#### 🐛 Bug Fix
|
|
37
|
+
|
|
38
|
+
- Merge with master ([@smithki](https://github.com/smithki))
|
|
39
|
+
- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki))
|
|
40
|
+
- Modify CDN default exports ([@smithki](https://github.com/smithki))
|
|
41
|
+
- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki))
|
|
42
|
+
|
|
43
|
+
#### Authors: 1
|
|
44
|
+
|
|
45
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
1
49
|
# v1.0.0 (Fri Dec 10 2021)
|
|
2
50
|
|
|
3
51
|
#### 💥 Breaking Change
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ const magic = new Magic('YOUR_API_KEY', {
|
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
## Magic SDK
|
|
36
|
-
See the [developer documentation](https://
|
|
36
|
+
See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes.
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## Usage
|
|
@@ -78,7 +78,7 @@ const handleSendContractOrigination = async () => {
|
|
|
78
78
|
{
|
|
79
79
|
"prim":"code",
|
|
80
80
|
"args":[
|
|
81
|
-
[
|
|
81
|
+
[
|
|
82
82
|
{ "prim":"CAR" },
|
|
83
83
|
{ "prim":"NIL", "args":[ { "prim":"operation" } ] },
|
|
84
84
|
{ "prim":"PAIR" }
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var f=r=>m(r,"__esModule",{value:!0});var l=(r,n)=>{for(var e in n)m(r,e,{get:n[e],enumerable:!0})},z=(r,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(r,t)&&(e||t!=="default")&&m(r,t,{get:()=>n[t],enumerable:!(i=g(n,t))||i.enumerable});return r};var C=(r=>(n,e)=>r&&r.get(n)||(e=z(f({}),n,1),r&&r.set(n,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var O={};l(O,{TezosExtension:()=>d});var p=require("@magic-sdk/commons"),d=class extends p.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,i,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:i,derivationPath:t}});this.sendContractOriginationOperation=(n,e,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:i,derivationPath:t,storage_limit:s,gas_limit:o,code:a,storage:u,codeFormat:c}});this.sendContractInvocationOperation=(n,e,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:i,derivationPath:t,storageLimit:s,gasLimit:o,entrypoint:a,parameters:u,parameterFormat:c}});this.sendContractPing=(n,e,i,t,s,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:i,derivationPath:t,storageLimit:s,gasLimit:o}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};module.exports=C(O);
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { Extension } from '@magic-sdk/commons';\nimport { TezosConfig, ConfigType } from './type';\n\nexport class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {\n name = 'tezos' as const;\n\n config: ConfigType;\n\n constructor(public tezosConfig: TezosConfig) {\n super();\n\n this.config = {\n rpcUrl: tezosConfig.rpcUrl,\n chainType: 'TEZOS',\n };\n }\n\n public sendTransactionOperation = (\n to: string,\n amount: number,\n fee: number,\n derivationPath: string,\n ): Promise<string> => {\n return this.request({\n id: 42,\n method: 'tezos_sendTransaction',\n jsonrpc: '2.0',\n params: {\n to,\n amount,\n fee,\n derivationPath,\n },\n });\n };\n\n public sendContractOriginationOperation = (\n amount: number,\n delegate: any,\n fee: number,\n derivationPath: string,\n storage_limit: number,\n gas_limit: number,\n code: string,\n storage: string,\n codeFormat: string,\n ): Promise<any> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractOriginationOperation',\n params: {\n amount,\n delegate,\n fee,\n derivationPath,\n storage_limit,\n gas_limit,\n code,\n storage,\n codeFormat,\n },\n });\n };\n\n public sendContractInvocationOperation = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n entrypoint: string | undefined,\n parameters: string | undefined,\n parameterFormat?: string,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractInvocationOperation',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n entrypoint,\n parameters,\n parameterFormat,\n },\n });\n };\n\n public sendContractPing = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractPing',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n },\n });\n };\n\n public sendDelegationOperation = (to: string, amount: number) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendDelegationOperation',\n params: {\n to,\n amount,\n },\n });\n };\n\n public getAccount = (): Promise<string> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_getAccount',\n params: [],\n });\n };\n}\n"],
|
|
5
|
+
"mappings": "8gBAAA,2CAA0B,8BAGnB,eAA6B,aAAU,QAA+B,CAK3E,YAAmB,EAA0B,CAC3C,QADiB,mBAJnB,UAAO,QAaA,8BAA2B,CAChC,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,OAAQ,wBACR,QAAS,MACT,OAAQ,CACN,KACA,SACA,MACA,oBAKC,sCAAmC,CACxC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yCACR,OAAQ,CACN,SACA,WACA,MACA,iBACA,gBACA,YACA,OACA,UACA,gBAKC,qCAAkC,CACvC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,wCACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,WACA,aACA,aACA,qBAKC,sBAAmB,CACxB,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yBACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,cAKC,6BAA0B,CAAC,EAAY,IACrC,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,gCACR,OAAQ,CACN,KACA,YAKC,gBAAa,IACX,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,mBACR,OAAQ,KA3HV,KAAK,OAAS,CACZ,OAAQ,EAAY,OACpB,UAAW",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/es/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Extension as
|
|
1
|
+
import{Extension as c}from"@magic-sdk/commons";var m=class extends c.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,r,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:r,derivationPath:t}});this.sendContractOriginationOperation=(n,e,r,t,i,s,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:r,derivationPath:t,storage_limit:i,gas_limit:s,code:o,storage:a,codeFormat:u}});this.sendContractInvocationOperation=(n,e,r,t,i,s,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:i,gasLimit:s,entrypoint:o,parameters:a,parameterFormat:u}});this.sendContractPing=(n,e,r,t,i,s)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:i,gasLimit:s}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};export{m as TezosExtension};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/es/index.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { Extension } from '@magic-sdk/commons';\nimport { TezosConfig, ConfigType } from './type';\n\nexport class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {\n name = 'tezos' as const;\n\n config: ConfigType;\n\n constructor(public tezosConfig: TezosConfig) {\n super();\n\n this.config = {\n rpcUrl: tezosConfig.rpcUrl,\n chainType: 'TEZOS',\n };\n }\n\n public sendTransactionOperation = (\n to: string,\n amount: number,\n fee: number,\n derivationPath: string,\n ): Promise<string> => {\n return this.request({\n id: 42,\n method: 'tezos_sendTransaction',\n jsonrpc: '2.0',\n params: {\n to,\n amount,\n fee,\n derivationPath,\n },\n });\n };\n\n public sendContractOriginationOperation = (\n amount: number,\n delegate: any,\n fee: number,\n derivationPath: string,\n storage_limit: number,\n gas_limit: number,\n code: string,\n storage: string,\n codeFormat: string,\n ): Promise<any> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractOriginationOperation',\n params: {\n amount,\n delegate,\n fee,\n derivationPath,\n storage_limit,\n gas_limit,\n code,\n storage,\n codeFormat,\n },\n });\n };\n\n public sendContractInvocationOperation = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n entrypoint: string | undefined,\n parameters: string | undefined,\n parameterFormat?: string,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractInvocationOperation',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n entrypoint,\n parameters,\n parameterFormat,\n },\n });\n };\n\n public sendContractPing = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractPing',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n },\n });\n };\n\n public sendDelegationOperation = (to: string, amount: number) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendDelegationOperation',\n params: {\n to,\n amount,\n },\n });\n };\n\n public getAccount = (): Promise<string> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_getAccount',\n params: [],\n });\n };\n}\n"],
|
|
5
|
+
"mappings": "AAAA,+CAGO,mBAA6B,GAAU,QAA+B,CAK3E,YAAmB,EAA0B,CAC3C,QADiB,mBAJnB,UAAO,QAaA,8BAA2B,CAChC,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,OAAQ,wBACR,QAAS,MACT,OAAQ,CACN,KACA,SACA,MACA,oBAKC,sCAAmC,CACxC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yCACR,OAAQ,CACN,SACA,WACA,MACA,iBACA,gBACA,YACA,OACA,UACA,gBAKC,qCAAkC,CACvC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,wCACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,WACA,aACA,aACA,qBAKC,sBAAmB,CACxB,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yBACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,cAKC,6BAA0B,CAAC,EAAY,IACrC,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,gCACR,OAAQ,CACN,KACA,YAKC,gBAAa,IACX,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,mBACR,OAAQ,KA3HV,KAAK,OAAS,CACZ,OAAQ,EAAY,OACpB,UAAW",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Extension as c}from"@magic-sdk/commons";var m=class extends c.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,r,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:r,derivationPath:t}});this.sendContractOriginationOperation=(n,e,r,t,i,s,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:r,derivationPath:t,storage_limit:i,gas_limit:s,code:o,storage:a,codeFormat:u}});this.sendContractInvocationOperation=(n,e,r,t,i,s,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:i,gasLimit:s,entrypoint:o,parameters:a,parameterFormat:u}});this.sendContractPing=(n,e,r,t,i,s)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:i,gasLimit:s}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};export{m as TezosExtension};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { Extension } from '@magic-sdk/commons';\nimport { TezosConfig, ConfigType } from './type';\n\nexport class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {\n name = 'tezos' as const;\n\n config: ConfigType;\n\n constructor(public tezosConfig: TezosConfig) {\n super();\n\n this.config = {\n rpcUrl: tezosConfig.rpcUrl,\n chainType: 'TEZOS',\n };\n }\n\n public sendTransactionOperation = (\n to: string,\n amount: number,\n fee: number,\n derivationPath: string,\n ): Promise<string> => {\n return this.request({\n id: 42,\n method: 'tezos_sendTransaction',\n jsonrpc: '2.0',\n params: {\n to,\n amount,\n fee,\n derivationPath,\n },\n });\n };\n\n public sendContractOriginationOperation = (\n amount: number,\n delegate: any,\n fee: number,\n derivationPath: string,\n storage_limit: number,\n gas_limit: number,\n code: string,\n storage: string,\n codeFormat: string,\n ): Promise<any> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractOriginationOperation',\n params: {\n amount,\n delegate,\n fee,\n derivationPath,\n storage_limit,\n gas_limit,\n code,\n storage,\n codeFormat,\n },\n });\n };\n\n public sendContractInvocationOperation = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n entrypoint: string | undefined,\n parameters: string | undefined,\n parameterFormat?: string,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractInvocationOperation',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n entrypoint,\n parameters,\n parameterFormat,\n },\n });\n };\n\n public sendContractPing = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractPing',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n },\n });\n };\n\n public sendDelegationOperation = (to: string, amount: number) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendDelegationOperation',\n params: {\n to,\n amount,\n },\n });\n };\n\n public getAccount = (): Promise<string> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_getAccount',\n params: [],\n });\n };\n}\n"],
|
|
5
|
+
"mappings": "AAAA,+CAGO,mBAA6B,GAAU,QAA+B,CAK3E,YAAmB,EAA0B,CAC3C,QADiB,mBAJnB,UAAO,QAaA,8BAA2B,CAChC,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,OAAQ,wBACR,QAAS,MACT,OAAQ,CACN,KACA,SACA,MACA,oBAKC,sCAAmC,CACxC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yCACR,OAAQ,CACN,SACA,WACA,MACA,iBACA,gBACA,YACA,OACA,UACA,gBAKC,qCAAkC,CACvC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,wCACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,WACA,aACA,aACA,qBAKC,sBAAmB,CACxB,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yBACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,cAKC,6BAA0B,CAAC,EAAY,IACrC,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,gCACR,OAAQ,CACN,KACA,YAKC,gBAAa,IACX,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,mBACR,OAAQ,KA3HV,KAAK,OAAS,CACZ,OAAQ,EAAY,OACpB,UAAW",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/extension.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
var MagicTezosExtension=
|
|
1
|
+
var MagicTezosExtension=(()=>{var l=Object.create;var a=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var d=e=>a(e,"__esModule",{value:!0});var j=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),q=(e,n)=>{for(var r in n)a(e,r,{get:n[r],enumerable:!0})},g=(e,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of C(n))!T.call(e,t)&&(r||t!=="default")&&a(e,t,{get:()=>n[t],enumerable:!(i=z(n,t))||i.enumerable});return e},x=(e,n)=>g(d(a(e!=null?l(O(e)):{},"default",!n&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),_=(e=>(n,r)=>e&&e.get(n)||(r=g(d({}),n,1),e&&e.set(n,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var f=j((I,b)=>{b.exports=Magic});var P={};q(P,{default:()=>y});var h=x(f()),m=class extends h.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,r,i,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:r,fee:i,derivationPath:t}});this.sendContractOriginationOperation=(n,r,i,t,s,o,u,p,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:r,fee:i,derivationPath:t,storage_limit:s,gas_limit:o,code:u,storage:p,codeFormat:c}});this.sendContractInvocationOperation=(n,r,i,t,s,o,u,p,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:r,fee:i,derivationPath:t,storageLimit:s,gasLimit:o,entrypoint:u,parameters:p,parameterFormat:c}});this.sendContractPing=(n,r,i,t,s,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:r,fee:i,derivationPath:t,storageLimit:s,gasLimit:o}});this.sendDelegationOperation=(n,r)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:r}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};var y=m;return _(P);})();
|
|
2
|
+
if (MagicTezosExtension && MagicTezosExtension.default != null) { MagicTezosExtension = Object.assign(MagicTezosExtension.default, MagicTezosExtension); delete MagicTezosExtension.default; }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var h=e=>m(e,"__esModule",{value:!0});var l=(e,n)=>{for(var r in n)m(e,r,{get:n[r],enumerable:!0})},z=(e,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!f.call(e,t)&&(r||t!=="default")&&m(e,t,{get:()=>n[t],enumerable:!(i=g(n,t))||i.enumerable});return e};var C=(e=>(n,r)=>e&&e.get(n)||(r=z(h({}),n,1),e&&e.set(n,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var O={};l(O,{TezosExtension:()=>d});var p=require("@magic-sdk/commons"),d=class extends p.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,r,i,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:r,fee:i,derivationPath:t}});this.sendContractOriginationOperation=(n,r,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:r,fee:i,derivationPath:t,storage_limit:s,gas_limit:o,code:a,storage:u,codeFormat:c}});this.sendContractInvocationOperation=(n,r,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:r,fee:i,derivationPath:t,storageLimit:s,gasLimit:o,entrypoint:a,parameters:u,parameterFormat:c}});this.sendContractPing=(n,r,i,t,s,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:r,fee:i,derivationPath:t,storageLimit:s,gasLimit:o}});this.sendDelegationOperation=(n,r)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:r}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};module.exports=C(O);
|
|
2
2
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.native.ts", "../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["export * from './index';\n", "import { Extension } from '@magic-sdk/commons';\nimport { TezosConfig, ConfigType } from './type';\n\nexport class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {\n name = 'tezos' as const;\n\n config: ConfigType;\n\n constructor(public tezosConfig: TezosConfig) {\n super();\n\n this.config = {\n rpcUrl: tezosConfig.rpcUrl,\n chainType: 'TEZOS',\n };\n }\n\n public sendTransactionOperation = (\n to: string,\n amount: number,\n fee: number,\n derivationPath: string,\n ): Promise<string> => {\n return this.request({\n id: 42,\n method: 'tezos_sendTransaction',\n jsonrpc: '2.0',\n params: {\n to,\n amount,\n fee,\n derivationPath,\n },\n });\n };\n\n public sendContractOriginationOperation = (\n amount: number,\n delegate: any,\n fee: number,\n derivationPath: string,\n storage_limit: number,\n gas_limit: number,\n code: string,\n storage: string,\n codeFormat: string,\n ): Promise<any> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractOriginationOperation',\n params: {\n amount,\n delegate,\n fee,\n derivationPath,\n storage_limit,\n gas_limit,\n code,\n storage,\n codeFormat,\n },\n });\n };\n\n public sendContractInvocationOperation = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n entrypoint: string | undefined,\n parameters: string | undefined,\n parameterFormat?: string,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractInvocationOperation',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n entrypoint,\n parameters,\n parameterFormat,\n },\n });\n };\n\n public sendContractPing = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractPing',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n },\n });\n };\n\n public sendDelegationOperation = (to: string, amount: number) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendDelegationOperation',\n params: {\n to,\n amount,\n },\n });\n };\n\n public getAccount = (): Promise<string> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_getAccount',\n params: [],\n });\n };\n}\n"],
|
|
5
|
+
"mappings": "8gBAAA,qCCAA,MAA0B,8BAGnB,eAA6B,aAAU,QAA+B,CAK3E,YAAmB,EAA0B,CAC3C,QADiB,mBAJnB,UAAO,QAaA,8BAA2B,CAChC,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,OAAQ,wBACR,QAAS,MACT,OAAQ,CACN,KACA,SACA,MACA,oBAKC,sCAAmC,CACxC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yCACR,OAAQ,CACN,SACA,WACA,MACA,iBACA,gBACA,YACA,OACA,UACA,gBAKC,qCAAkC,CACvC,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,wCACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,WACA,aACA,aACA,qBAKC,sBAAmB,CACxB,EACA,EACA,EACA,EACA,EACA,IAEO,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,yBACR,OAAQ,CACN,WACA,SACA,MACA,iBACA,eACA,cAKC,6BAA0B,CAAC,EAAY,IACrC,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,gCACR,OAAQ,CACN,KACA,YAKC,gBAAa,IACX,KAAK,QAAQ,CAClB,GAAI,GACJ,QAAS,MACT,OAAQ,mBACR,OAAQ,KA3HV,KAAK,OAAS,CACZ,OAAQ,EAAY,OACpB,UAAW",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TezosExtension } from './index';
|
|
2
|
-
export
|
|
1
|
+
import { TezosExtension } from './index';
|
|
2
|
+
export default TezosExtension;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Extension } from '@magic-sdk/commons';
|
|
2
|
-
import { TezosConfig, ConfigType } from './type';
|
|
3
|
-
export declare class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {
|
|
4
|
-
tezosConfig: TezosConfig;
|
|
5
|
-
name: "tezos";
|
|
6
|
-
config: ConfigType;
|
|
7
|
-
constructor(tezosConfig: TezosConfig);
|
|
8
|
-
sendTransactionOperation: (to: string, amount: number, fee: number, derivationPath: string) => Promise<string>;
|
|
9
|
-
sendContractOriginationOperation: (amount: number, delegate: any, fee: number, derivationPath: string, storage_limit: number, gas_limit: number, code: string, storage: string, codeFormat: string) => Promise<any>;
|
|
10
|
-
sendContractInvocationOperation: (contract: string, amount: number, fee: number, derivationPath: string | undefined, storageLimit: number, gasLimit: number, entrypoint: string | undefined, parameters: string | undefined, parameterFormat?: string | undefined) => import("@magic-sdk/commons").PromiEvent<any, {
|
|
11
|
-
done: (result: any) => void;
|
|
12
|
-
error: (reason: any) => void;
|
|
13
|
-
settled: () => void;
|
|
14
|
-
}>;
|
|
15
|
-
sendContractPing: (contract: string, amount: number, fee: number, derivationPath: string | undefined, storageLimit: number, gasLimit: number) => import("@magic-sdk/commons").PromiEvent<any, {
|
|
16
|
-
done: (result: any) => void;
|
|
17
|
-
error: (reason: any) => void;
|
|
18
|
-
settled: () => void;
|
|
19
|
-
}>;
|
|
20
|
-
sendDelegationOperation: (to: string, amount: number) => import("@magic-sdk/commons").PromiEvent<any, {
|
|
21
|
-
done: (result: any) => void;
|
|
22
|
-
error: (reason: any) => void;
|
|
23
|
-
settled: () => void;
|
|
24
|
-
}>;
|
|
25
|
-
getAccount: () => Promise<string>;
|
|
26
|
-
}
|
|
1
|
+
import { Extension } from '@magic-sdk/commons';
|
|
2
|
+
import { TezosConfig, ConfigType } from './type';
|
|
3
|
+
export declare class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {
|
|
4
|
+
tezosConfig: TezosConfig;
|
|
5
|
+
name: "tezos";
|
|
6
|
+
config: ConfigType;
|
|
7
|
+
constructor(tezosConfig: TezosConfig);
|
|
8
|
+
sendTransactionOperation: (to: string, amount: number, fee: number, derivationPath: string) => Promise<string>;
|
|
9
|
+
sendContractOriginationOperation: (amount: number, delegate: any, fee: number, derivationPath: string, storage_limit: number, gas_limit: number, code: string, storage: string, codeFormat: string) => Promise<any>;
|
|
10
|
+
sendContractInvocationOperation: (contract: string, amount: number, fee: number, derivationPath: string | undefined, storageLimit: number, gasLimit: number, entrypoint: string | undefined, parameters: string | undefined, parameterFormat?: string | undefined) => import("@magic-sdk/commons").PromiEvent<any, {
|
|
11
|
+
done: (result: any) => void;
|
|
12
|
+
error: (reason: any) => void;
|
|
13
|
+
settled: () => void;
|
|
14
|
+
}>;
|
|
15
|
+
sendContractPing: (contract: string, amount: number, fee: number, derivationPath: string | undefined, storageLimit: number, gasLimit: number) => import("@magic-sdk/commons").PromiEvent<any, {
|
|
16
|
+
done: (result: any) => void;
|
|
17
|
+
error: (reason: any) => void;
|
|
18
|
+
settled: () => void;
|
|
19
|
+
}>;
|
|
20
|
+
sendDelegationOperation: (to: string, amount: number) => import("@magic-sdk/commons").PromiEvent<any, {
|
|
21
|
+
done: (result: any) => void;
|
|
22
|
+
error: (reason: any) => void;
|
|
23
|
+
settled: () => void;
|
|
24
|
+
}>;
|
|
25
|
+
getAccount: () => Promise<string>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-ext/tezos",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "magic tezos extension",
|
|
5
5
|
"author": "Magic <team@magic.link> (https://magic.link/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"files": [
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
|
-
"target": "
|
|
14
|
+
"target": "neutral",
|
|
15
15
|
"cdnGlobalName": "MagicTezosExtension",
|
|
16
16
|
"main": "./dist/cjs/index.js",
|
|
17
17
|
"module": "./dist/es/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"jsdelivr": "./dist/extension.js",
|
|
20
20
|
"react-native": "./dist/react-native/index.native.js",
|
|
21
21
|
"exports": {
|
|
22
|
-
"import": "./dist/
|
|
22
|
+
"import": "./dist/es/index.mjs",
|
|
23
23
|
"require": "./dist/cjs/index.js"
|
|
24
24
|
},
|
|
25
25
|
"externals": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@magic-sdk/commons": "^
|
|
31
|
+
"@magic-sdk/commons": "^4.1.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "6aa5a25b33865cfe27444ca6094efade16a82f9f"
|
|
34
34
|
}
|
package/dist/modern/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Extension as t}from"@magic-sdk/commons";class e extends t.Internal{constructor(t){super(),this.tezosConfig=void 0,this.name="tezos",this.config=void 0,this.sendTransactionOperation=(t,e,o,i)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:t,amount:e,fee:o,derivationPath:i}}),this.sendContractOriginationOperation=(t,e,o,i,n,s,a,r,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:t,delegate:e,fee:o,derivationPath:i,storage_limit:n,gas_limit:s,code:a,storage:r,codeFormat:c}}),this.sendContractInvocationOperation=(t,e,o,i,n,s,a,r,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:t,amount:e,fee:o,derivationPath:i,storageLimit:n,gasLimit:s,entrypoint:a,parameters:r,parameterFormat:c}}),this.sendContractPing=(t,e,o,i,n,s)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:t,amount:e,fee:o,derivationPath:i,storageLimit:n,gasLimit:s}}),this.sendDelegationOperation=(t,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:t,amount:e}}),this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]}),this.tezosConfig=t,this.config={rpcUrl:t.rpcUrl,chainType:"TEZOS"}}}export{e as TezosExtension};
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/index.ts"],"sourcesContent":["import { Extension } from '@magic-sdk/commons';\nimport { TezosConfig, ConfigType } from './type';\n\nexport class TezosExtension extends Extension.Internal<'tezos', TezosConfig> {\n name = 'tezos' as const;\n\n config: ConfigType;\n\n constructor(public tezosConfig: TezosConfig) {\n super();\n\n this.config = {\n rpcUrl: tezosConfig.rpcUrl,\n chainType: 'TEZOS',\n };\n }\n\n public sendTransactionOperation = (\n to: string,\n amount: number,\n fee: number,\n derivationPath: string,\n ): Promise<string> => {\n return this.request({\n id: 42,\n method: 'tezos_sendTransaction',\n jsonrpc: '2.0',\n params: {\n to,\n amount,\n fee,\n derivationPath,\n },\n });\n };\n\n public sendContractOriginationOperation = (\n amount: number,\n delegate: any,\n fee: number,\n derivationPath: string,\n storage_limit: number,\n gas_limit: number,\n code: string,\n storage: string,\n codeFormat: string,\n ): Promise<any> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractOriginationOperation',\n params: {\n amount,\n delegate,\n fee,\n derivationPath,\n storage_limit,\n gas_limit,\n code,\n storage,\n codeFormat,\n },\n });\n };\n\n public sendContractInvocationOperation = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n entrypoint: string | undefined,\n parameters: string | undefined,\n parameterFormat?: string,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractInvocationOperation',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n entrypoint,\n parameters,\n parameterFormat,\n },\n });\n };\n\n public sendContractPing = (\n contract: string,\n amount: number,\n fee: number,\n derivationPath: string | undefined,\n storageLimit: number,\n gasLimit: number,\n ) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendContractPing',\n params: {\n contract,\n amount,\n fee,\n derivationPath,\n storageLimit,\n gasLimit,\n },\n });\n };\n\n public sendDelegationOperation = (to: string, amount: number) => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_sendDelegationOperation',\n params: {\n to,\n amount,\n },\n });\n };\n\n public getAccount = (): Promise<string> => {\n return this.request({\n id: 42,\n jsonrpc: '2.0',\n method: 'tezos_getAccount',\n params: [],\n });\n };\n}\n"],"names":["TezosExtension","Extension","Internal","constructor","tezosConfig","super","name","config","sendTransactionOperation","to","amount","fee","derivationPath","request","id","method","jsonrpc","params","sendContractOriginationOperation","delegate","storage_limit","gas_limit","code","storage","codeFormat","sendContractInvocationOperation","contract","storageLimit","gasLimit","entrypoint","parameters","parameterFormat","sendContractPing","sendDelegationOperation","getAccount","this","rpcUrl","chainType"],"mappings":"qDAGaA,UAAuBC,EAAUC,SAK5CC,YAAmBC,GACjBC,aADiBD,wBAJnBE,KAAO,aAEPC,mBAWOC,yBAA2B,CAChCC,EACAC,EACAC,EACAC,SAEYC,QAAQ,CAClBC,GAAI,GACJC,OAAQ,wBACRC,QAAS,MACTC,OAAQ,CACNR,GAAAA,EACAC,OAAAA,EACAC,IAAAA,EACAC,eAAAA,UAKCM,iCAAmC,CACxCR,EACAS,EACAR,EACAC,EACAQ,EACAC,EACAC,EACAC,EACAC,SAEYX,QAAQ,CAClBC,GAAI,GACJE,QAAS,MACTD,OAAQ,yCACRE,OAAQ,CACNP,OAAAA,EACAS,SAAAA,EACAR,IAAAA,EACAC,eAAAA,EACAQ,cAAAA,EACAC,UAAAA,EACAC,KAAAA,EACAC,QAAAA,EACAC,WAAAA,UAKCC,gCAAkC,CACvCC,EACAhB,EACAC,EACAC,EACAe,EACAC,EACAC,EACAC,EACAC,SAEYlB,QAAQ,CAClBC,GAAI,GACJE,QAAS,MACTD,OAAQ,wCACRE,OAAQ,CACNS,SAAAA,EACAhB,OAAAA,EACAC,IAAAA,EACAC,eAAAA,EACAe,aAAAA,EACAC,SAAAA,EACAC,WAAAA,EACAC,WAAAA,EACAC,gBAAAA,UAKCC,iBAAmB,CACxBN,EACAhB,EACAC,EACAC,EACAe,EACAC,SAEYf,QAAQ,CAClBC,GAAI,GACJE,QAAS,MACTD,OAAQ,yBACRE,OAAQ,CACNS,SAAAA,EACAhB,OAAAA,EACAC,IAAAA,EACAC,eAAAA,EACAe,aAAAA,EACAC,SAAAA,UAKCK,wBAA0B,CAACxB,EAAYC,SAChCG,QAAQ,CAClBC,GAAI,GACJE,QAAS,MACTD,OAAQ,gCACRE,OAAQ,CACNR,GAAAA,EACAC,OAAAA,UAKCwB,WAAa,SACNrB,QAAQ,CAClBC,GAAI,GACJE,QAAS,MACTD,OAAQ,mBACRE,OAAQ,KA9HOkB,iBAAA/B,EAGjB+B,KAAK5B,OAAS,CACZ6B,OAAQhC,EAAYgC,OACpBC,UAAW"}
|