Socket
Socket
Sign inDemoInstall

@adobe/adobeio-cna-tvm-client

Package Overview
Dependencies
68
Maintainers
48
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.3.0

2

lib/TvmClient.js

@@ -103,3 +103,3 @@ /*

cacheFile: joi.any()
}).unknown().required())
}).required())
if (res.error) throw new TvmError(res.error.message, TvmError.codes.BadArgument)

@@ -106,0 +106,0 @@

{
"name": "@adobe/adobeio-cna-tvm-client",
"version": "0.2.0",
"version": "0.3.0",
"description": "A JS client to access the token vending machine",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -91,2 +91,8 @@ /*

})
test('unknown config key', async () => {
const badInput = { ...fakeTVMInput }
badInput.badKey = 'smthg'
const instantiate = async () => TvmClient.init(badInput)
await expect(instantiate).toThrowBadArgWithMessageContaining(['badKey', 'not allowed'])
})
})

@@ -93,0 +99,0 @@ describe('api url', () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc