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

@textile/context

Package Overview
Dependencies
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textile/context - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

dist/index.d.ts

@@ -69,3 +69,3 @@ import { grpc } from '@improbable-eng/grpc-web';

private _context;
constructor(host?: HostString, transport?: grpc.TransportFactory, debug?: boolean);
constructor(host?: HostString, debug?: boolean, transport?: grpc.TransportFactory);
get host(): any;

@@ -92,5 +92,5 @@ get transport(): any;

toMetadata(): grpc.Metadata;
static fromJSON(json: ContextKeys, host?: HostString, transport?: grpc.TransportFactory, debug?: boolean): Context;
static fromJSON(json: ContextKeys, host?: HostString, debug?: boolean, transport?: grpc.TransportFactory): Context;
withUserKey(key?: KeyInfo, date?: Date): Promise<this>;
}
export {};

@@ -26,2 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Context = exports.createAPISig = exports.defaultHost = void 0;
const grpc_web_1 = require("@improbable-eng/grpc-web");

@@ -46,6 +47,6 @@ const fast_sha256_1 = require("fast-sha256");

host = exports.defaultHost,
// For testing and debugging purposes.
debug = false,
// To comply with Config interface
transport = grpc_web_1.grpc.WebsocketTransport(),
// For testing and debugging purposes.
debug = false) {
transport = grpc_web_1.grpc.WebsocketTransport()) {
// Internal context variables

@@ -132,8 +133,9 @@ this._context = {};

}
static fromJSON(json, host = exports.defaultHost, transport = grpc_web_1.grpc.WebsocketTransport(), debug = false) {
static fromJSON(json, host = exports.defaultHost, debug = false, transport = grpc_web_1.grpc.WebsocketTransport()) {
const newContext = Object.assign({}, json);
newContext['host'] = host;
newContext['transport'] = transport;
newContext['debug'] = debug;
const ctx = new Context();
ctx._context = json;
ctx._context['host'] = host;
ctx._context['transport'] = transport;
ctx._context['debug'] = debug;
ctx._context = newContext;
return ctx;

@@ -140,0 +142,0 @@ }

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

var threads=function(t){function e(e){for(var n,s,u=e[0],c=e[1],a=e[2],l=0,f=[];l<u.length;l++)s=u[l],Object.prototype.hasOwnProperty.call(o,s)&&o[s]&&f.push(o[s][0]),o[s]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);for(h&&h(e);f.length;)f.shift()();return i.push.apply(i,a||[]),r()}function r(){for(var t,e=0;e<i.length;e++){for(var r=i[e],n=!0,u=1;u<r.length;u++){var c=r[u];0!==o[c]&&(n=!1)}n&&(i.splice(e--,1),t=s(s.s=r[0]))}return t}var n={},o={0:0},i=[];function s(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=n,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(r,n,function(e){return t[e]}.bind(null,n));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var u=window.webpackJsonpthreads=window.webpackJsonpthreads||[],c=u.push.bind(u);u.push=e,u=u.slice();for(var a=0;a<u.length;a++)e(u[a]);var h=c;return i.push([1,1]),r()}([,function(t,e,r){"use strict";(function(t){var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function s(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,u)}c((n=n.apply(t,e||[])).next())}))},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const s=r(6),u=r(7),c=i(r(8));e.defaultHost="https://api.textile.io:3447",e.createAPISig=(e,r=new Date(Date.now()+6e4))=>n(void 0,void 0,void 0,(function*(){const n=c.default.decode(e),o=(null!=r?r:new Date).toISOString(),i=new u.HMAC(n).update(t.from(o)).digest();return{sig:c.default.encode("base32",t.from(i)).toString(),msg:o}}));class a{constructor(t=e.defaultHost,r=s.grpc.WebsocketTransport(),n=!1){this._context={},this._context.host=t,this._context.transport=r,this._context.debug=n}get host(){return this._context.host}get transport(){return this._context.transport}get debug(){return this._context.debug}set(t,e){return this._context[t]=e,this}get(t){return this._context[t]}withSession(t){return void 0===t||(this._context["x-textile-session"]=t),this}withThread(t){return void 0===t||(this._context["x-textile-thread"]=t.toString()),this}withThreadName(t){return void 0===t||(this._context["x-textile-thread-name"]=t),this}withOrg(t){return void 0===t||(this._context["x-textile-org"]=t),this}withToken(t){return void 0===t||(this._context.authorization="bearer "+t),this}withAPIKey(t){return void 0===t||(this._context["x-textile-api-key"]=t),this}withAPISig(t){if(void 0===t)return this;const{sig:e,msg:r}=t;return this._context["x-textile-api-sig-msg"]=r,this._context["x-textile-api-sig"]=e,this}withContext(t){return void 0===t||(this._context=t.toJSON()),this}toJSON(){const t=this._context,{transport:e}=t;return o(t,["transport"])}toMetadata(){return new s.grpc.Metadata(this.toJSON())}static fromJSON(t,r=e.defaultHost,n=s.grpc.WebsocketTransport(),o=!1){const i=new a;return i._context=t,i._context.host=r,i._context.transport=n,i._context.debug=o,i}withUserKey(t,r){return n(this,void 0,void 0,(function*(){if(void 0===t)return this;const n=yield e.createAPISig(t.secret,r);return this.withAPIKey(t.key).withAPISig(n)}))}}e.Context=a}).call(this,r(0).Buffer)}]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsIm1vZHVsZXMiLCJ3ZWJwYWNrSnNvbnBDYWxsYmFjayIsImRhdGEiLCJtb2R1bGVJZCIsImNodW5rSWQiLCJjaHVua0lkcyIsIm1vcmVNb2R1bGVzIiwiZXhlY3V0ZU1vZHVsZXMiLCJpIiwicmVzb2x2ZXMiLCJsZW5ndGgiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbnN0YWxsZWRDaHVua3MiLCJwdXNoIiwicGFyZW50SnNvbnBGdW5jdGlvbiIsInNoaWZ0IiwiZGVmZXJyZWRNb2R1bGVzIiwiYXBwbHkiLCJjaGVja0RlZmVycmVkTW9kdWxlcyIsInJlc3VsdCIsImRlZmVycmVkTW9kdWxlIiwiZnVsZmlsbGVkIiwiaiIsImRlcElkIiwic3BsaWNlIiwiX193ZWJwYWNrX3JlcXVpcmVfXyIsInMiLCJpbnN0YWxsZWRNb2R1bGVzIiwiMCIsImV4cG9ydHMiLCJtb2R1bGUiLCJsIiwibSIsImMiLCJkIiwibmFtZSIsImdldHRlciIsIm8iLCJkZWZpbmVQcm9wZXJ0eSIsImVudW1lcmFibGUiLCJnZXQiLCJyIiwiU3ltYm9sIiwidG9TdHJpbmdUYWciLCJ2YWx1ZSIsInQiLCJtb2RlIiwiX19lc01vZHVsZSIsIm5zIiwiY3JlYXRlIiwia2V5IiwiYmluZCIsIm4iLCJvYmplY3QiL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FTckQsS0FBS21ELFVBRTdDUixnQkFBZ0JXLEVBQU1WLEVBQU83RSxFQUFReUQsWUFBYXFCLEVBQVl4QixFQUFXeUIsS0FBS0MscUJBQXNCQyxHQUFRLEdBQ3hHLE1BQU1PLEVBQU0sSUFBSWIsRUFLaEIsT0FKQWEsRUFBSU4sU0FBV0ssRUFDZkMsRUFBSU4sU0FBZSxLQUFJTCxFQUN2QlcsRUFBSU4sU0FBb0IsVUFBSUosRUFDNUJVLEVBQUlOLFNBQWdCLE1BQUlELEVBQ2pCTyxFQUVYWixZQUFZdkQsRUFBS3VDLEdBQ2IsT0FBTzVCLEVBQVVDLFVBQU0sT0FBUSxHQUFRLFlBQ25DLFFBQVlrRCxJQUFSOUQsRUFDQSxPQUFPWSxLQUNYLE1BQU11QyxRQUFZeEUsRUFBUTBELGFBQWFyQyxFQUFJc0MsT0FBUUMsR0FDbkQsT0FBTzNCLEtBQUt3RCxXQUFXcEUsRUFBSUEsS0FBS3FFLFdBQVdsQixPQUl2RHhFLEVBQVEyRSxRQUFVQSxJQUVXN0YsS0FBS21ELEtBQU1yQyxFQUFvQixHQUFHbUMiLCJmaWxlIjoiLi9tYWluLmpzIiwic291cmNlUm9vdCI6IiJ9
var threads=function(t){function e(e){for(var n,s,u=e[0],a=e[1],c=e[2],l=0,f=[];l<u.length;l++)s=u[l],Object.prototype.hasOwnProperty.call(o,s)&&o[s]&&f.push(o[s][0]),o[s]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(h&&h(e);f.length;)f.shift()();return i.push.apply(i,c||[]),r()}function r(){for(var t,e=0;e<i.length;e++){for(var r=i[e],n=!0,u=1;u<r.length;u++){var a=r[u];0!==o[a]&&(n=!1)}n&&(i.splice(e--,1),t=s(s.s=r[0]))}return t}var n={},o={0:0},i=[];function s(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=n,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(r,n,function(e){return t[e]}.bind(null,n));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var u=window.webpackJsonpthreads=window.webpackJsonpthreads||[],a=u.push.bind(u);u.push=e,u=u.slice();for(var c=0;c<u.length;c++)e(u[c]);var h=a;return i.push([1,1]),r()}([,function(t,e,r){"use strict";(function(t){var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function s(t){try{a(n.next(t))}catch(t){i(t)}}function u(t){try{a(n.throw(t))}catch(t){i(t)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,u)}a((n=n.apply(t,e||[])).next())}))},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Context=e.createAPISig=e.defaultHost=void 0;const s=r(6),u=r(7),a=i(r(8));e.defaultHost="https://api.textile.io:3447",e.createAPISig=(e,r=new Date(Date.now()+6e4))=>n(void 0,void 0,void 0,(function*(){const n=a.default.decode(e),o=(null!=r?r:new Date).toISOString(),i=new u.HMAC(n).update(t.from(o)).digest();return{sig:a.default.encode("base32",t.from(i)).toString(),msg:o}}));class c{constructor(t=e.defaultHost,r=!1,n=s.grpc.WebsocketTransport()){this._context={},this._context.host=t,this._context.transport=n,this._context.debug=r}get host(){return this._context.host}get transport(){return this._context.transport}get debug(){return this._context.debug}set(t,e){return this._context[t]=e,this}get(t){return this._context[t]}withSession(t){return void 0===t||(this._context["x-textile-session"]=t),this}withThread(t){return void 0===t||(this._context["x-textile-thread"]=t.toString()),this}withThreadName(t){return void 0===t||(this._context["x-textile-thread-name"]=t),this}withOrg(t){return void 0===t||(this._context["x-textile-org"]=t),this}withToken(t){return void 0===t||(this._context.authorization="bearer "+t),this}withAPIKey(t){return void 0===t||(this._context["x-textile-api-key"]=t),this}withAPISig(t){if(void 0===t)return this;const{sig:e,msg:r}=t;return this._context["x-textile-api-sig-msg"]=r,this._context["x-textile-api-sig"]=e,this}withContext(t){return void 0===t||(this._context=t.toJSON()),this}toJSON(){const t=this._context,{transport:e}=t;return o(t,["transport"])}toMetadata(){return new s.grpc.Metadata(this.toJSON())}static fromJSON(t,r=e.defaultHost,n=!1,o=s.grpc.WebsocketTransport()){const i=Object.assign({},t);i.host=r,i.transport=o,i.debug=n;const u=new c;return u._context=i,u}withUserKey(t,r){return n(this,void 0,void 0,(function*(){if(void 0===t)return this;const n=yield e.createAPISig(t.secret,r);return this.withAPIKey(t.key).withAPISig(n)}))}}e.Context=c}).call(this,r(0).Buffer)}]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsIm1vZHVsZXMiLCJ3ZWJwYWNrSnNvbnBDYWxsYmFjayIsImRhdGEiLCJtb2R1bGVJZCIsImNodW5rSWQiLCJjaH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vQyxFQUFJUixTQUFXTSxFQUNSRSxFQUVYZCxZQUFZdkQsRUFBS3dDLEdBQ2IsT0FBTzdCLEVBQVVDLFVBQU0sT0FBUSxHQUFRLFlBQ25DLFFBQVlrRCxJQUFSOUQsRUFDQSxPQUFPWSxLQUNYLE1BQU13QyxRQUFZekUsRUFBUXVELGFBQWFsQyxFQUFJdUMsT0FBUUMsR0FDbkQsT0FBTzVCLEtBQUswRCxXQUFXdEUsRUFBSUEsS0FBS3VFLFdBQVduQixPQUl2RHpFLEVBQVFzRCxRQUFVQSxJQUVXeEUsS0FBS21ELEtBQU1yQyxFQUFvQixHQUFHbUMiLCJmaWxlIjoiLi9tYWluLmpzIiwic291cmNlUm9vdCI6IiJ9
{
"name": "@textile/context",
"version": "0.2.0",
"version": "0.2.1",
"main": "dist/index",

@@ -14,3 +14,4 @@ "types": "dist/index",

"scripts": {
"prepublish": "npm run build",
"prepublishOnly": "npm run build",
"prepare": "npm run build:node",
"prebuild": "npm run clean",

@@ -26,3 +27,2 @@ "build": "npm run build:node && npm run build:browser",

"@improbable-eng/grpc-web": "^0.12.0",
"@textile/threads-id": "^0.0.5",
"rimraf": "^3.0.0",

@@ -37,2 +37,3 @@ "typescript": "^3.7.2"

"dependencies": {
"@textile/threads-id": "^0.0.6",
"@types/multibase": "^0.6.0",

@@ -42,3 +43,3 @@ "fast-sha256": "^1.3.0",

},
"gitHead": "68b6d231c70ba1ea08a99e7c8951fefc4be247ce"
"gitHead": "1a68d1db7c77a2b4ebf3711719b33097d0aeb752"
}

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