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

@toruslabs/solana-embed

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/solana-embed - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

3

dist/torus.esm.js

@@ -1105,3 +1105,3 @@ import { Transaction } from '@solana/web3.js';

}
init({ buildEnv = TORUS_BUILD_ENV.PRODUCTION, enableLogging = false, network, showTorusButton = true, useLocalStorage = false, buttonPosition = BUTTON_POSITION.BOTTOM_LEFT, apiKey = "torus-default", } = {}) {
init({ buildEnv = TORUS_BUILD_ENV.PRODUCTION, enableLogging = false, network, showTorusButton = true, useLocalStorage = false, buttonPosition = BUTTON_POSITION.BOTTOM_LEFT, apiKey = "torus-default", extraParams = {}, } = {}) {
return __awaiter(this, void 0, void 0, function* () {

@@ -1152,2 +1152,3 @@ if (this.isInitialized)

dappMetadata,
extraParams,
}, torusIframeUrl.origin);

@@ -1154,0 +1155,0 @@ }));

@@ -20,3 +20,3 @@ import { Transaction } from "@solana/web3.js";

constructor({ modalZIndex }?: TorusCtorArgs);
init({ buildEnv, enableLogging, network, showTorusButton, useLocalStorage, buttonPosition, apiKey, }?: TorusParams): Promise<void>;
init({ buildEnv, enableLogging, network, showTorusButton, useLocalStorage, buttonPosition, apiKey, extraParams, }?: TorusParams): Promise<void>;
private handleDappStorageKey;

@@ -23,0 +23,0 @@ login(params?: {

@@ -218,2 +218,11 @@ import { JRPCRequest } from "@toruslabs/openlogin-jrpc";

useLocalStorage?: boolean;
/**
* Allows passing external data for initialize
*
* Defaults to empty object
* @default {}
*/
extraParams?: {
[keyof: string]: string;
};
}

@@ -220,0 +229,0 @@ export interface ProviderOptions {

{
"name": "@toruslabs/solana-embed",
"version": "0.0.3",
"version": "0.0.4",
"description": "Embed script for solana blockchain",

@@ -5,0 +5,0 @@ "main": "dist/torus.cjs.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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