@iotexproject/kit 0.0.54 → 0.0.55
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.ts +4 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7041,6 +7041,10 @@ declare class Staking {
|
|
|
7041
7041
|
duration: string;
|
|
7042
7042
|
autoStake: boolean;
|
|
7043
7043
|
}): Promise<any>;
|
|
7044
|
+
candidateEndorsement(args: {
|
|
7045
|
+
bucketIndex: string;
|
|
7046
|
+
endorse: boolean;
|
|
7047
|
+
}): Promise<any>;
|
|
7044
7048
|
}
|
|
7045
7049
|
declare class utils {
|
|
7046
7050
|
erc20(args: {
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var z=({url:c="http://localhost:9527"}={})=>new Proxy({},{get(j,x,q){return new Proxy({},{get(t,R){return async(f)=>{for(let n in f)if(Array.isArray(f[n]))f[n]=JSON.stringify(f[n]);const $=`${c}/${String(x)}/${String(R)}?${new URLSearchParams(f).toString()}`;return(await fetch($)).json()}}})}}),A=({url:c="http://localhost:9527"}={})=>new Proxy({},{get(j,x,q){return new Proxy({},{get(t,R){return async(f)=>{for(let n in f)if(Array.isArray(f[n]))f[n]=JSON.stringify(f[n]);const $=`${c}/${String(x)}/${String(R)}?${new URLSearchParams(f).toString()}`;return(await fetch($)).json()}}})}});export{A as createClientWithDBServer,z as createClient};
|