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

vtex-render-session

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vtex-render-session - npm Package Compare versions

Comparing version 0.1.2 to 0.1.4

4

CHANGELOG.md

@@ -10,2 +10,6 @@ # Changelog

## [0.1.4] - 2018-12-26
## [0.1.3] - 2018-12-26
## [0.1.2] - 2018-12-12

@@ -12,0 +16,0 @@ ### Changed

4

dist/index.js

@@ -114,3 +114,3 @@ /******/ (function(modules) { // webpackBootstrap

if (error) {
throw Error(error);
throw new Error(error.message || 'Unknown error');
}

@@ -162,2 +162,2 @@ }).catch(function (error) {

/******/ });
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0Esa0RBQTBDLGdDQUFnQztBQUMxRTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLGdFQUF3RCxrQkFBa0I7QUFDMUU7QUFDQSx5REFBaUQsY0FBYztBQUMvRDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsaURBQXlDLGlDQUFpQztBQUMxRSx3SEFBZ0gsbUJBQW1CLEVBQUU7QUFD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nLCBlcnIpKVxuXG5jb25zdCBzZXNzaW9uUHJvbWlzZSA9IGZldGNoV2l0aFJldHJ5KGAvYXBpL3Nlc3Npb25zJHt3aW5kb3cubG9jYXRpb24uc2VhcmNofWAsIHtcbiAgYm9keTogJ3t9JyxcbiAgY3JlZGVudGlhbHM6ICdzYW1lLW9yaWdpbicsXG4gIGhlYWRlcnM6IG5ldyBIZWFkZXJzKHsgJ0NvbnRlbnQtVHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyB9KSxcbiAgbWV0aG9kOiAnUE9TVCcsXG59KS5jYXRjaChlcnIgPT4gY29uc29sZS5sb2coJ0Vycm9yIHdoaWxlIGxvYWRpbmcgc2Vzc2lvbiB3aXRoIGVycm9yOiAnLCBlcnIpKTtcblxuKHdpbmRvdyBhcyBhbnkpLl9fUkVOREVSXzdfU0VTU0lPTl9fID0ge1xuICBwYXRjaFNlc3Npb24sXG4gIHNlc3Npb25Qcm9taXNlLFxufVxuIl0sInNvdXJjZVJvb3QiOiIifQ==

@@ -1,1 +0,1 @@

!function(e){var n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=n,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)r.d(t,o,function(n){return e[n]}.bind(null,o));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="/",r(r.s=0)}([function(e,n,r){e.exports=r(1)},function(e,n,r){"use strict";var t=function(e,n,r){void 0===r&&(r=3);var t=function(o){return void 0===o&&(o=0),fetch(e,n).then(function(e){return e.status>=200&&e.status<300?{response:e,error:null}:e.json().then(function(n){return{response:e,error:n}}).catch(function(){return{response:e,error:{message:"Unable to parse JSON"}}})}).then(function(e){var n=e.error;if(n)throw Error(n)}).catch(function(e){if(console.error(e),!(o>=r))return function(e){return new Promise(function(n){return setTimeout(n,e)})}(500*Math.pow(2,o)).then(function(){return t(++o)})})};return t()},o=t("/api/sessions"+window.location.search,{body:"{}",credentials:"same-origin",headers:new Headers({"Content-Type":"application/json"}),method:"POST"}).catch(function(e){return console.log("Error while loading session with error: ",e)});window.__RENDER_7_SESSION__={patchSession:function(e){return t("/api/sessions"+window.location.search,{body:e?JSON.stringify(e):"{}",credentials:"same-origin",headers:new Headers({"Content-Type":"application/json"}),method:"PATCH"}).catch(function(e){return console.log("Error while patching session with error: ",e)})},sessionPromise:o}}]);
!function(e){var n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=n,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)r.d(t,o,function(n){return e[n]}.bind(null,o));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="/",r(r.s=0)}([function(e,n,r){e.exports=r(1)},function(e,n,r){"use strict";var t=function(e,n,r){void 0===r&&(r=3);var t=function(o){return void 0===o&&(o=0),fetch(e,n).then(function(e){return e.status>=200&&e.status<300?{response:e,error:null}:e.json().then(function(n){return{response:e,error:n}}).catch(function(){return{response:e,error:{message:"Unable to parse JSON"}}})}).then(function(e){var n=e.error;if(n)throw new Error(n.message||"Unknown error")}).catch(function(e){if(console.error(e),!(o>=r))return function(e){return new Promise(function(n){return setTimeout(n,e)})}(500*Math.pow(2,o)).then(function(){return t(++o)})})};return t()},o=t("/api/sessions"+window.location.search,{body:"{}",credentials:"same-origin",headers:new Headers({"Content-Type":"application/json"}),method:"POST"}).catch(function(e){return console.log("Error while loading session with error: ",e)});window.__RENDER_7_SESSION__={patchSession:function(e){return t("/api/sessions"+window.location.search,{body:e?JSON.stringify(e):"{}",credentials:"same-origin",headers:new Headers({"Content-Type":"application/json"}),method:"PATCH"}).catch(function(e){return console.log("Error while patching session with error: ",e)})},sessionPromise:o}}]);
{
"name": "vtex-render-session",
"version": "0.1.2",
"version": "0.1.4",
"description": "Adds session as external to render runtime",

@@ -5,0 +5,0 @@ "scripts": {

@@ -15,3 +15,3 @@ const delay = (ms: number): Promise<void> => {

if (error) {
throw Error(error)
throw new Error(error.message || 'Unknown error')
}

@@ -18,0 +18,0 @@ }).catch((error) => {

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