@rabbitholegg/questdk-plugin-fabric
Advanced tools
Comparing version 1.0.0-alpha.29 to 1.0.0-alpha.30
# @rabbitholegg/questdk-plugin-fabric | ||
## 1.0.0-alpha.30 | ||
### Patch Changes | ||
- [#460](https://github.com/rabbitholegg/questdk-plugins/pull/460) [`388ad5ef`](https://github.com/rabbitholegg/questdk-plugins/commit/388ad5efdf682fa7d7b890a4af1cea89df7e88dd) Thanks [@mmackz](https://github.com/mmackz)! - export functions required for inbox integration | ||
## 1.0.0-alpha.29 | ||
@@ -4,0 +10,0 @@ |
@@ -1,104 +0,4 @@ | ||
import { Chains as e } from "@rabbitholegg/questdk-plugin-utils"; | ||
import { compressJson as r } from "@rabbitholegg/questdk"; | ||
const s = [ | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "numTokens", | ||
type: "uint256" | ||
} | ||
], | ||
name: "mint", | ||
outputs: [], | ||
stateMutability: "payable", | ||
type: "function" | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "account", | ||
type: "address" | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "numTokens", | ||
type: "uint256" | ||
} | ||
], | ||
name: "mintFor", | ||
outputs: [], | ||
stateMutability: "payable", | ||
type: "function" | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "numTokens", | ||
type: "uint256" | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "referralCode", | ||
type: "uint256" | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "referrer", | ||
type: "address" | ||
} | ||
], | ||
name: "mintWithReferral", | ||
outputs: [], | ||
stateMutability: "payable", | ||
type: "function" | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "account", | ||
type: "address" | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "numTokens", | ||
type: "uint256" | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "referralCode", | ||
type: "uint256" | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "referrer", | ||
type: "address" | ||
} | ||
], | ||
name: "mintWithReferralFor", | ||
outputs: [], | ||
stateMutability: "payable", | ||
type: "function" | ||
} | ||
], p = async (t) => { | ||
const { chainId: n, contractAddress: a, recipient: i } = t; | ||
return r({ | ||
chainId: n, | ||
to: a, | ||
input: { | ||
$abi: s, | ||
account: i | ||
} | ||
}); | ||
}, u = async (t) => [], o = async () => [e.OPTIMISM, e.BASE, e.ZORA], m = { | ||
pluginId: "fabric", | ||
getSupportedTokenAddresses: u, | ||
getSupportedChainIds: o, | ||
mint: p | ||
}; | ||
import { F as o } from "../index-B6CPAvs5.mjs"; | ||
export { | ||
m as Fabric | ||
o as Fabric | ||
}; |
@@ -1,3 +0,3 @@ | ||
import { type IActionPlugin } from '@rabbitholegg/questdk'; | ||
import type { IActionPlugin } from '@rabbitholegg/questdk-plugin-utils'; | ||
export declare const Fabric: IActionPlugin; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@rabbitholegg/questdk-plugin-fabric", | ||
"private": false, | ||
"version": "1.0.0-alpha.29", | ||
"version": "1.0.0-alpha.30", | ||
"exports": { | ||
@@ -6,0 +6,0 @@ "require": "./dist/cjs/index.js", |
@@ -1,7 +0,15 @@ | ||
import { type IActionPlugin } from '@rabbitholegg/questdk' | ||
import type { | ||
ActionParams, | ||
IActionPlugin, | ||
MintActionParams, | ||
} from '@rabbitholegg/questdk-plugin-utils' | ||
import { | ||
getFees, | ||
getProjectFees, | ||
getMintIntent, | ||
getSupportedChainIds, | ||
getSupportedTokenAddresses, | ||
mint, | ||
simulateMint, | ||
} from './Fabric.js' | ||
@@ -14,2 +22,8 @@ | ||
mint, | ||
getProjectFees: async (params: ActionParams) => | ||
getProjectFees(params as unknown as MintActionParams), | ||
getFees: async (params: ActionParams) => | ||
getFees(params as unknown as MintActionParams), | ||
getMintIntent, | ||
simulateMint, | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
901491
42
12584
5
9