@magic-ext/algorand
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -1,1 +0,1 @@ | ||
var MagicAlgorandExtension=function(t){var r;return function(t){t.AlgorandSignTransaction="algod_signTransaction",t.AlgorandSignBid="algod_signBid",t.AlgorandGetWallet="algod_getWallet"}(r||(r={})),function(t){var e,n;function o(r){var e;return(e=t.call(this)||this).algorandConfig=r,e.name="algod",e.config={},e.config={rpcUrl:r.rpcUrl,chainType:"ALOGD"},e}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.signTransaction=function(t){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignTransaction,t)))}catch(t){return Promise.reject(t)}},a.signBid=function(t){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignBid,t)))}catch(t){return Promise.reject(t)}},a.getWallet=function(){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandGetWallet,[])))}catch(t){return Promise.reject(t)}},o}(t.Extension.Internal)}(Magic); | ||
var MagicAlgorandExtension=function(r){var t;return function(r){r.AlgorandSignTransaction="algod_signTransaction",r.AlgorandSignBid="algod_signBid",r.AlgorandGetWallet="algod_getWallet",r.AlgorandSignGroupTransaction="algod_signGroupTransaction"}(t||(t={})),function(r){var n,e;function o(t){var n;return(n=r.call(this)||this).algorandConfig=t,n.name="algod",n.config={},n.config={rpcUrl:t.rpcUrl,chainType:"ALOGD"},n}e=r,(n=o).prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e;var a=o.prototype;return a.signTransaction=function(r){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandSignTransaction,r)))}catch(r){return Promise.reject(r)}},a.signBid=function(r){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandSignBid,r)))}catch(r){return Promise.reject(r)}},a.getWallet=function(){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandGetWallet,[])))}catch(r){return Promise.reject(r)}},a.signGroupTransaction=function(r){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandSignGroupTransaction,r)))}catch(r){return Promise.reject(r)}},o}(r.Extension.Internal)}(Magic); |
{ | ||
"name": "@magic-ext/algorand", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "magic algorand extension", | ||
@@ -17,9 +17,6 @@ "author": "Magic <hello@magic.link> (https://magic.link/)", | ||
"umdGlobal": "MagicAlgorandExtension", | ||
"main": "dist/commonjs/index.js", | ||
"main": "dist/cjs/index.js", | ||
"umd:main": "dist/extension.js", | ||
"module": "dist/module/index.js", | ||
"types": "dist/commonjs/index.d.ts", | ||
"scripts": { | ||
"precommit": "lint-staged" | ||
}, | ||
"module": "dist/es/index.js", | ||
"types": "dist/cjs/index.d.ts", | ||
"devDependencies": { | ||
@@ -26,0 +23,0 @@ "magic-sdk": "^2.6.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21468
276
1