@keypom/core
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -23,2 +23,7 @@ import { Near } from '@near-js/wallet-account'; | ||
}; | ||
/** | ||
* List of supported Keypom contracts that can be used with the SDK. | ||
* | ||
* @group Keypom SDK Environment | ||
*/ | ||
export declare const supportedKeypomContracts: { | ||
@@ -41,2 +46,7 @@ mainnet: { | ||
}; | ||
/** | ||
* Official linkdrop claim pages for wallets and other applications | ||
* | ||
* @group Keypom SDK Environment | ||
*/ | ||
export declare const supportedLinkdropClaimPages: { | ||
@@ -46,2 +56,3 @@ mainnet: { | ||
keypom: string; | ||
meteor: string; | ||
}; | ||
@@ -51,4 +62,10 @@ testnet: { | ||
keypom: string; | ||
meteor: string; | ||
}; | ||
}; | ||
/** | ||
* Recovery mapping contracts used to keep track of trial account IDs for given public keys. | ||
* | ||
* @group Keypom SDK Environment | ||
*/ | ||
export declare const accountMappingContract: { | ||
@@ -55,0 +72,0 @@ mainnet: string; |
"use strict"; | ||
//import * as nearAPI from "near-api-js"; | ||
// const { | ||
// KeyPair, | ||
// keyStores: { BrowserLocalStorageKeyStore, InMemoryKeyStore }, | ||
// } = nearAPI; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -23,4 +18,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
const wallet_account_1 = require("@near-js/wallet-account"); | ||
//import { Account, Connection, Near } from "near-api-js"; | ||
//import { KeyStore } from "near-api-js/lib/key_stores"; | ||
const near_seed_phrase_1 = require("near-seed-phrase"); | ||
@@ -52,2 +45,7 @@ const checks_1 = require("./checks"); | ||
}; | ||
/** | ||
* List of supported Keypom contracts that can be used with the SDK. | ||
* | ||
* @group Keypom SDK Environment | ||
*/ | ||
exports.supportedKeypomContracts = { | ||
@@ -70,2 +68,7 @@ mainnet: { | ||
}; | ||
/** | ||
* Official linkdrop claim pages for wallets and other applications | ||
* | ||
* @group Keypom SDK Environment | ||
*/ | ||
exports.supportedLinkdropClaimPages = { | ||
@@ -75,2 +78,3 @@ mainnet: { | ||
keypom: 'https://keypom.xyz/claim/CONTRACT_ID#SECRET_KEY', | ||
meteor: 'https://wallet.meteorwallet.app/linkdrop/CONTRACT_ID/SECRET_KEY' | ||
}, | ||
@@ -80,4 +84,10 @@ testnet: { | ||
keypom: 'https://testnet.keypom.xyz/claim/CONTRACT_ID#SECRET_KEY', | ||
meteor: 'https://wallet.meteorwallet.app/linkdrop/CONTRACT_ID/SECRET_KEY' | ||
}, | ||
}; | ||
/** | ||
* Recovery mapping contracts used to keep track of trial account IDs for given public keys. | ||
* | ||
* @group Keypom SDK Environment | ||
*/ | ||
exports.accountMappingContract = { | ||
@@ -84,0 +94,0 @@ mainnet: 'v1.mapping.keypom.near', |
{ | ||
"name": "@keypom/core", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Core library for interacting with the Keypom Protocol", | ||
@@ -60,4 +60,5 @@ "main": "lib/index.js", | ||
"ava:drop-creation": "ava test/creation.test.js -vs --timeout=5m", | ||
"ava:dummy-creation": "ava test/dummy-creation.test.js -vs --timeout=5m" | ||
"ava:dummy-creation": "ava test/dummy-creation.test.js -vs --timeout=5m", | ||
"build-docs": "npx typedoc --options typedoc.json" | ||
} | ||
} |
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
415468
45
8475
1
203
3
70