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

@riiid/santa-sdk-js

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@riiid/santa-sdk-js - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

.babelrc

9

lib/auth/__tests__/auth-test.js

@@ -19,2 +19,3 @@ const nock = require('nock');

const snsToken = 'snsToken';
const clientCode = 'clientCode';
const BASE_URL = 'https://dev.authentication.riiid.co';

@@ -257,5 +258,5 @@

nock(BASE_URL)
.post(PATH_ANONYMOUS, {clientCode: token})
.post(PATH_ANONYMOUS, {clientCode})
.reply(500);
return req.createAnonymous(clientCode = token)
return req.createAnonymous(clientCode)
.catch(err => {

@@ -268,5 +269,5 @@ expect(err.message).toMatchSnapshot();

nock(BASE_URL)
.post(PATH_ANONYMOUS, {clientCode: token})
.post(PATH_ANONYMOUS, {clientCode})
.reply(500);
return req.createAnonymous$(clientCode = token).subscribe(null, err => {
return req.createAnonymous$(clientCode).subscribe(null, err => {
expect(err.message).toMatchSnapshot();

@@ -273,0 +274,0 @@ done();

{
"name": "@riiid/santa-sdk-js",
"version": "0.1.1",
"version": "0.1.2",
"description": "Santa SDK for Javascript",
"main": "./lib/index.js",
"repository": "https://github.com/riiid/santa-sdk-js.git",
"author": "",
"license": "MIT",
"author": "Riiid",
"license": "Apache-2.0",
"scripts": {
"build": "npx babel lib --out-dir dist",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch --notify"
"test:watch": "jest --coverage --watch --notify",
"deploy": "yarn build && np"
},

@@ -23,2 +25,6 @@ "engines": {

"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.4.3",
"babel-eslint": "^10.0.1",

@@ -29,3 +35,7 @@ "eslint": "^5.12.1",

"nock": "^10.0.6"
},
"np": {
"yarn": false,
"contents": "dist"
}
}
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