New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rabbitholegg/questdk-plugin-fabric

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rabbitholegg/questdk-plugin-fabric - npm Package Compare versions

Comparing version 1.0.0-alpha.21 to 1.0.0-alpha.22

vite.config.js

12

CHANGELOG.md
# @rabbitholegg/questdk-plugin-fabric
## 1.0.0-alpha.22
### Minor Changes
- [#385](https://github.com/rabbitholegg/questdk-plugins/pull/385) [`72a86095`](https://github.com/rabbitholegg/questdk-plugins/commit/72a860954036856b073a2043dfc8614c200585d6) Thanks [@sammccord](https://github.com/sammccord)! - use vite for build tooling, reduce plugin size, improve build speeds
### Patch Changes
- Updated dependencies [[`1fa4bb52`](https://github.com/rabbitholegg/questdk-plugins/commit/1fa4bb5262cef6a1f434850b097b9aacc0d1e8ba), [`19d8db5c`](https://github.com/rabbitholegg/questdk-plugins/commit/19d8db5c5cafb4409dd469d22bdfc709d6d108aa), [`72a86095`](https://github.com/rabbitholegg/questdk-plugins/commit/72a860954036856b073a2043dfc8614c200585d6)]:
- @rabbitholegg/questdk-plugin-utils@1.0.0-alpha.32
- @rabbitholegg/questdk@2.0.0-alpha.52
## 1.0.0-alpha.21

@@ -4,0 +16,0 @@

15

dist/cjs/index.js

@@ -1,14 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Fabric = void 0;
var _Fabric = require("./Fabric.js");
var Fabric = exports.Fabric = {
pluginId: 'fabric',
getSupportedTokenAddresses: _Fabric.getSupportedTokenAddresses,
getSupportedChainIds: _Fabric.getSupportedChainIds,
mint: _Fabric.mint
};
//# sourceMappingURL=index.js.map
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("@rabbitholegg/questdk-plugin-utils"),require("@rabbitholegg/questdk")):typeof define=="function"&&define.amd?define(["exports","@rabbitholegg/questdk-plugin-utils","@rabbitholegg/questdk"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.QuestdkPluginFabric={},e.questdkPluginUtils,e.questdk))})(this,function(e,t,i){"use strict";const a=[{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"}],s={pluginId:"fabric",getSupportedTokenAddresses:async n=>[],getSupportedChainIds:async()=>[t.Chains.OPTIMISM,t.Chains.BASE,t.Chains.ZORA],mint:async n=>{const{chainId:r,contractAddress:u,recipient:p}=n;return i.compressJson({chainId:r,to:u,input:{$abi:a,account:p}})}};e.Fabric=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});

@@ -1,8 +0,104 @@

import { getSupportedChainIds, getSupportedTokenAddresses, mint } from './Fabric.js';
export const Fabric = {
pluginId: 'fabric',
getSupportedTokenAddresses,
getSupportedChainIds,
mint
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
};
//# sourceMappingURL=index.js.map
export {
m as Fabric
};
{
"name": "@rabbitholegg/questdk-plugin-fabric",
"private": false,
"version": "1.0.0-alpha.21",
"version": "1.0.0-alpha.22",
"exports": {

@@ -12,25 +12,17 @@ "require": "./dist/cjs/index.js",

"module": "./dist/esm/index.js",
"description": "Plugin for Fabric",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"keywords": [],
"author": "",
"license": "ISC",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"devDependencies": {
"tsconfig": "0.1.0-alpha.1"
},
"devDependencies": {},
"dependencies": {
"@rabbitholegg/questdk-plugin-utils": "1.0.0-alpha.31",
"@rabbitholegg/questdk": "2.0.0-alpha.51"
"@rabbitholegg/questdk-plugin-utils": "1.0.0-alpha.32",
"@rabbitholegg/questdk": "2.0.0-alpha.52"
},
"scripts": {
"build": "vite build && tsc --project tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./dist/types",
"bench": "vitest bench",
"bench:ci": "CI=true vitest bench",
"build": "pnpm build:types && pnpm build:esm && pnpm postbuild:esm && pnpm build:cjs && pnpm postbuild:cjs && BABEL_ENV=esmBundled pnpm rollup -c",
"build:esm": "BABEL_ENV=esmUnbundled babel src --extensions '.ts' --out-dir 'dist/esm' --source-maps",
"build:cjs": "BABEL_ENV=cjs babel src --extensions '.ts' --out-dir 'dist/cjs' --source-maps",
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"clean": "rimraf dist",
"postbuild:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"postbuild:esm": "echo '{\"type\":\"module\"}' > dist/esm/package.json",
"format": "rome format . --write",

@@ -37,0 +29,0 @@ "lint": "eslint .",

{
"extends": "tsconfig/base.json",
"extends": "../../tsconfig.json",
"include": ["src"],

@@ -4,0 +4,0 @@ "exclude": [

{
"extends": "tsconfig/base.json",
"extends": "../../tsconfig.json",
"include": ["src/**/*", "src/chain-data.ts"],
"exclude": ["dist", "build", "node_modules"]
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc