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

@wormhole-foundation/connect-sdk-solana

Package Overview
Dependencies
Maintainers
5
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wormhole-foundation/connect-sdk-solana - npm Package Compare versions

Comparing version 0.4.2-beta.1 to 0.4.2

2

dist/cjs/utils/index.d.ts
export * as utils from './utils';
export * as anchor from './anchor';
export declare function camelCase(str: string): string;
export declare function upperFirst(str: string): string;
//# sourceMappingURL=index.d.ts.map

@@ -26,5 +26,19 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.anchor = exports.utils = void 0;
exports.upperFirst = exports.camelCase = exports.anchor = exports.utils = void 0;
exports.utils = __importStar(require("./utils"));
exports.anchor = __importStar(require("./anchor"));
// camel case a string (from https://stackoverflow.com/a/2970667)
function camelCase(str) {
return (str
.replace(/(?:^\w|[A-Z]|\b\w)/g, function (word, index) {
return index === 0 ? word.toLowerCase() : word.toUpperCase();
})
// replace any spaces, hyphens, or underscores with an empty string
.replace(/[\s\-_]+/g, ''));
}
exports.camelCase = camelCase;
function upperFirst(str) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
exports.upperFirst = upperFirst;
//# sourceMappingURL=index.js.map
export * as utils from './utils';
export * as anchor from './anchor';
export declare function camelCase(str: string): string;
export declare function upperFirst(str: string): string;
//# sourceMappingURL=index.d.ts.map
export * as utils from './utils';
export * as anchor from './anchor';
// camel case a string (from https://stackoverflow.com/a/2970667)
export function camelCase(str) {
return (str
.replace(/(?:^\w|[A-Z]|\b\w)/g, function (word, index) {
return index === 0 ? word.toLowerCase() : word.toUpperCase();
})
// replace any spaces, hyphens, or underscores with an empty string
.replace(/[\s\-_]+/g, ''));
}
export function upperFirst(str) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
//# sourceMappingURL=index.js.map

7

package.json
{
"name": "@wormhole-foundation/connect-sdk-solana",
"version": "0.4.2-beta.1",
"version": "0.4.2",
"repository": {

@@ -49,3 +49,3 @@ "type": "git",

"dependencies": {
"@wormhole-foundation/connect-sdk": "^0.4.2-beta.1",
"@wormhole-foundation/connect-sdk": "^0.4.2",
"@coral-xyz/borsh": "0.2.6",

@@ -55,5 +55,4 @@ "@project-serum/anchor": "0.25.0",

"@solana/spl-token": "0.3.9",
"@solana/web3.js": "1.89.1",
"lodash": "^4.17.21"
"@solana/web3.js": "1.89.1"
}
}

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

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