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

@ltmp/rcrdshp-flow-templates

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltmp/rcrdshp-flow-templates - npm Package Compare versions

Package version was removed
This package version has been unpublished, mostly likely due to security reasons

Comparing version

to
1.1.1

generated/metadata-view-dapper-wallet.cdc.js

7

generated/purchase-nft-rcrdshp.cdc.js
module.exports = function txCode () { return `import FungibleToken from 0xFUNGIBLETOKEN
import NonFungibleToken from 0xNONFUNGIBLETOKEN
import MetadataViews from 0xNONFUNGIBLETOKEN
import DapperUtilityCoin from 0xDAPPERUTILITYCOIN

@@ -10,3 +11,3 @@ import NFTStorefront from 0xNFTSTOREFRONT

// will also initialize the buyer's NFT collection on their account if it has not already been initialized.
transaction(listingResourceID: UInt64, storefrontAddress: Address, expectedPrice: UFix64) {
transaction(storefrontAddress: Address, listingResourceID: UInt64, expectedPrice: UFix64) {
let paymentVault: @FungibleToken.Vault

@@ -29,2 +30,6 @@ let nftCollection: &RCRDSHPNFT.Collection{NonFungibleToken.Receiver}

)
} else if buyer.getCapability<&RCRDSHPNFT.Collection{MetadataViews.ResolverCollection}>(RCRDSHPNFT.collectionPublicPath) == nil {
// If the buyer's account was old and not linked with Metadata, relink here so they can see collectibles in the Dapper inventory
buyer.unlink(RCRDSHPNFT.collectionPublicPath)
buyer.link<&RCRDSHPNFT.Collection{NonFungibleToken.CollectionPublic, RCRDSHPNFT.RCRDSHPNFTCollectionPublic, MetadataViews.ResolverCollection}>(RCRDSHPNFT.collectionPublicPath,target: RCRDSHPNFT.collectionStoragePath)
}

@@ -31,0 +36,0 @@

4

index.js

@@ -1,12 +0,8 @@

const initializeAccount = require('./generated/initialize-account.cdc')
const purchaseNft = require('./generated/purchase-nft-rcrdshp.cdc')
const purchaseNftCustodial = require('./generated/purchase-nft-custodial-rcrdshp.cdc')
const transferToCustodialViaForwarder = require('./generated/transfer-dapper-custodial.cdc')
module.exports = {
initializeAccount,
purchaseNft,
purchaseNftCustodial,
transferToCustodialViaForwarder
}
{
"name": "@ltmp/rcrdshp-flow-templates",
"version": "1.0.5",
"version": "1.1.1",
"main": "index.js",
"repository": "git@github.com:letthemusicpay/rcrdshp-flow.git",
"author": "Pablo Castro",
"author": "Pablo Castro and Nathan Pahucki",
"license": "MIT",
"scripts": {
"prepare": "node ./generator.js"
"prepare": "node ./packager.js"
},
"files": [
"index.js",
"generated"
]
"files": ["index.js", "generated"]
}