Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@keypom/core

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keypom/core - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

17

lib/lib/keypom.d.ts

@@ -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;

24

lib/lib/keypom.js
"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"
}
}
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