New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anchor-link

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchor-link - npm Package Compare versions

Comparing version 3.0.0-beta15 to 3.0.0-beta16

lib/anchor-link.bundle.js

47

package.json
{
"name": "anchor-link",
"version": "3.0.0-beta15",
"version": "3.0.0-beta16",
"description": "Library for authenticating and signing transactions using the Anchor Link protocol",
"license": "MIT",
"main": "lib/index.js",
"module": "lib/index.m.js",
"esmodule": "lib/index.esm.js",
"types": "lib/index.d.ts",
"unpkg": "lib/bundle.js",
"license": "BSD-3-Clause",
"main": "lib/anchor-link.js",
"module": "lib/anchor-link.mjs",
"types": "lib/anchor-link.d.ts",
"unpkg": "lib/anchor-link.bundle.js",
"scripts": {

@@ -28,3 +27,3 @@ "prepare": "make"

},
"homepage": "https://github.com/greymass/anchor-link#readme",
"homepage": "https://github.com/greymass/anchor-link",
"files": [

@@ -34,9 +33,13 @@ "lib/*",

],
"browser": {
"buffer": false,
"crypto": false
},
"dependencies": {
"@greymass/eosio": "0.0.9",
"@greymass/eosio": "^0.1.2",
"asmcrypto.js": "^2.3.2",
"eosio-signing-request": "2.0.0-beta11",
"eosio-signing-request": "next",
"fetch-ponyfill": "^7.0.0",
"isomorphic-ws": "^4.0.1",
"pako": "^1.0.10",
"pako": "^2.0.2",
"uuid": "^8.3.1",

@@ -46,2 +49,9 @@ "ws": "^7.4.0"

"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-typescript": "^8.0.0",
"@types/mocha": "^8.0.0",

@@ -52,13 +62,16 @@ "@types/node": "^14.14.7",

"@types/ws": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"core-js": "^3.8.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-prettier": "^3.2.0",
"gh-pages": "^3.1.0",
"microbundle": "^0.12.4",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"ts-node": "^9.0.0",
"prettier": "^2.2.1",
"rollup": "^2.34.1",
"rollup-plugin-dts": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^9.1.0",
"typedoc": "^0.19.2",

@@ -65,0 +78,0 @@ "typescript": "^4.0.5"

export * from './link'
export * from './link-session'
export {LinkOptions} from './link-options'
export {LinkTransport} from './link-transport'
export {LinkStorage} from './link-storage'
export type {LinkOptions} from './link-options'
export type {LinkTransport} from './link-transport'
export type {LinkStorage} from './link-storage'
export * from './errors'

@@ -12,3 +12,4 @@

// convenience re-exports from esr
export {PlaceholderAuth, PlaceholderName, PlaceholderPermission} from 'eosio-signing-request'
// expose dependencies
export * from 'eosio-signing-request'
export * from '@greymass/eosio'

@@ -258,6 +258,6 @@ import zlib from 'pako'

const resolved = await ResolvedSigningRequest.fromPayload(payload, this.requestOptions)
// TODO: use the signature type directly instead of the string now that its not a pain to do
const fuelSig = resolved.request.getInfoKey<string>('fuel_sig', 'string')
if (fuelSig) {
signatures.unshift(Signature.from(fuelSig))
// prepend cosigner signature if present
const cosignerSig = resolved.request.getInfoKey('cosig', Signature)
if (cosignerSig) {
signatures.unshift(cosignerSig)
}

@@ -264,0 +264,0 @@ const result: TransactResult = {

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