@meteorwallet/meteor-near-sdk
Advanced tools
Comparing version
@@ -0,1 +1,2 @@ | ||
import { NEAR_PASSWORD_HASH, NEAR_SALT } from "./types/near_encryption_types"; | ||
export declare const NEAR_MIN_BALANCE_FOR_GAS_REGULAR_NUM = 0.05; | ||
@@ -10,1 +11,7 @@ export declare const NEAR_MIN_BALANCE_FOR_GAS: string; | ||
export declare const NEAR_ED25519_KEY_DERIVATION_PATH = "m/44'/397'/0'"; | ||
export declare const NEAR_GLOBAL_PASSWORD_PADDING_HASH_STA = NEAR_PASSWORD_HASH.START; | ||
export declare const NEAR_GLOBAL_PASSWORD_PADDING_HASH_END = NEAR_PASSWORD_HASH.END; | ||
export declare const NEAR_SALT_BYTE_COUNT = NEAR_SALT.BYTE_COUNT; | ||
export declare const NEAR_SALT_PASSWORD_MATCH = NEAR_SALT.PASSWORD_MATCH; | ||
export declare const NEAR_SALT_PASSWORD_CIPHER_KEY = NEAR_SALT.PASSWORD_CIPHER_KEY; | ||
export declare const NEAR_SALT_WALLET_ID = NEAR_SALT.WALLET_ID; |
import { parseNearAmount } from "@near-js/utils"; | ||
import { NEAR_PASSWORD_HASH, NEAR_SALT } from "./types/near_encryption_types"; | ||
export const NEAR_MIN_BALANCE_FOR_GAS_REGULAR_NUM = 0.05; | ||
@@ -12,2 +13,9 @@ export const NEAR_MIN_BALANCE_FOR_GAS = parseNearAmount(`${NEAR_MIN_BALANCE_FOR_GAS_REGULAR_NUM}`); | ||
export const NEAR_ED25519_KEY_DERIVATION_PATH = "m/44'/397'/0'"; | ||
// The start and end padding for passwords, is exactly each half of that hash (first 32 chars, last 32 chars) | ||
export const NEAR_GLOBAL_PASSWORD_PADDING_HASH_STA = NEAR_PASSWORD_HASH.START; | ||
export const NEAR_GLOBAL_PASSWORD_PADDING_HASH_END = NEAR_PASSWORD_HASH.END; | ||
export const NEAR_SALT_BYTE_COUNT = NEAR_SALT.BYTE_COUNT; | ||
export const NEAR_SALT_PASSWORD_MATCH = NEAR_SALT.PASSWORD_MATCH; | ||
export const NEAR_SALT_PASSWORD_CIPHER_KEY = NEAR_SALT.PASSWORD_CIPHER_KEY; | ||
export const NEAR_SALT_WALLET_ID = NEAR_SALT.WALLET_ID; | ||
//# sourceMappingURL=near_constants.js.map |
import { ENearNetwork } from "./types/near_basic_types"; | ||
import { getNearApi } from "./clients/near_api_js/NearApiJsClient"; | ||
// TODO | ||
function getNearApi(network) { | ||
return { | ||
initialize: () => { }, | ||
}; | ||
} | ||
async function initialize() { | ||
@@ -4,0 +9,0 @@ await Promise.all([ |
@@ -1,2 +0,14 @@ | ||
import { AccountView } from "near-api-js/lib/providers/provider"; | ||
declare type BlockHash = string; | ||
declare type BlockHeight = number; | ||
export interface QueryResponseKind { | ||
block_height: BlockHeight; | ||
block_hash: BlockHash; | ||
} | ||
export interface AccountView extends QueryResponseKind { | ||
amount: string; | ||
locked: string; | ||
code_hash: string; | ||
storage_usage: number; | ||
storage_paid_at: BlockHeight; | ||
} | ||
export interface IOGetAccountState_Inputs { | ||
@@ -8,1 +20,2 @@ accountId: string; | ||
} | ||
export {}; |
import { IWithAccountId, IWithContractId, IWithStringAmount } from "../near_input_helper_types"; | ||
import { Account } from "near-api-js"; | ||
declare class Account { | ||
} | ||
export interface IOTransfer_Input extends IWithAccountId, IWithContractId, IWithStringAmount { | ||
@@ -22,1 +23,2 @@ receiverId: string; | ||
} | ||
export {}; |
@@ -0,2 +1,5 @@ | ||
// TODO | ||
class Account { | ||
} | ||
export {}; | ||
//# sourceMappingURL=fungible_tokens_service_types.js.map |
import { IKeypom_Drop } from "../types/services/keypom_service_types"; | ||
import { DROP_TYPE } from "../../../modules_feature/linkdrop/keypom_types"; | ||
export declare enum DROP_TYPE { | ||
TOKEN = "TOKEN", | ||
TICKET = "TICKET", | ||
TRIAL = "TRIAL", | ||
NFT = "NFT", | ||
SIMPLE = "SIMPLE" | ||
} | ||
export declare const near_keypom_util: { | ||
@@ -4,0 +10,0 @@ getDropType: typeof getDropType; |
@@ -1,2 +0,9 @@ | ||
import { DROP_TYPE } from "../../../modules_feature/linkdrop/keypom_types"; | ||
export var DROP_TYPE; | ||
(function (DROP_TYPE) { | ||
DROP_TYPE["TOKEN"] = "TOKEN"; | ||
DROP_TYPE["TICKET"] = "TICKET"; | ||
DROP_TYPE["TRIAL"] = "TRIAL"; | ||
DROP_TYPE["NFT"] = "NFT"; | ||
DROP_TYPE["SIMPLE"] = "SIMPLE"; | ||
})(DROP_TYPE || (DROP_TYPE = {})); | ||
export const near_keypom_util = { | ||
@@ -3,0 +10,0 @@ getDropType, |
@@ -15,2 +15,5 @@ import { ERoutePropType } from "./Router.types"; | ||
Route_wallet.go({}); | ||
describe("Router", () => { | ||
it("Render correctly", () => { }); | ||
}); | ||
//# sourceMappingURL=Router.unit.test.js.map |
export * from "../../../common/core/modules/blockchains/near/core/clients/near_rpc/NearRpcClient"; | ||
export * from "../../../common/core/modules/blockchains/near/core/utils/near_encryption_decryption_utils"; | ||
export * from "../../../common/core/modules/blockchains/near/core/utils/wallet_encryption_utils"; |
export * from "../../../common/core/modules/blockchains/near/core/clients/near_rpc/NearRpcClient"; | ||
export * from "../../../common/core/modules/blockchains/near/core/utils/near_encryption_decryption_utils"; | ||
export * from "../../../common/core/modules/blockchains/near/core/utils/wallet_encryption_utils"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@meteorwallet/meteor-near-sdk", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"main": "dist/packages/sdk/meteor-near-sdk/src/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/packages/sdk/meteor-near-sdk/src/index.d.ts", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
381312
5.93%254
3.67%7860
4.49%2
100%