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

@textile/security

Package Overview
Dependencies
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textile/security - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

31

dist/index.d.ts

@@ -9,3 +9,3 @@ /**

* ```typescript
* import {UserAuth} from '@textile/hub';
* import {UserAuth} from '@textile/threads';
* ```

@@ -29,3 +29,3 @@ * @param {string} key - API key. Can be embedded/shared within an app.

* ```typescript
* import {KeyInfo} from '@textile/hub';
* import {KeyInfo} from '@textile/threads';
* ```

@@ -56,3 +56,3 @@ * @param {string} key - API key. Can be embedded/shared within an app.

* ```typescript
* import {APISig} from '@textile/hub';
* import {APISig} from '@textile/threads';
* ```

@@ -74,5 +74,8 @@ * @param {string} sig - The signature of the authentication message.

* ```typescript
* import {createAPISig, APISig} from '@textile/hub'
* import {createAPISig, APISig} from '@textile/threads'
*
* const sig: APISig = createAPISig(USER_API_KEY)
* async function sign (key: string) {
* const sig: APISig = await createAPISig(key)
* return sig
* }
* ```

@@ -94,15 +97,11 @@ * @param {string} secret - The key secret to generate the signature. See KeyInfo for details.

* ```typescript
* import {createAPISig, Client, KeyInfo, UserAuth} from '@textile/hub';
* import {createUserAuth, KeyInfo, UserAuth} from '@textile/threads';
*
* // The first step is to create a basic session with your user group keys. See KeyInfo type.
* const keyInfo: KeyInfo = {
* key: USER_API_KEY,
* secret: USER_API_SECRET,
* type: 0,
* async function auth (keyInfo: KeyInfo) {
* // Create an expiration and create a signature. 60s or less is recommended.
* const expiration = new Date(Date.now() + 60 * 1000)
* // Generate a new UserAuth
* const userAuth: UserAuth = await createUserAuth(keyInfo.key, keyInfo.secret, expiration)
* return userAuth
* }
* const db = await Client.withKeyInfo(keyInfo)
*
* // Create an expiration and create a signature. 60s or less is recommended.
* const expiration = new Date(Date.now() + 60 * seconds)
* const userAuth: UserAuth = await createUserAuth(USER_API_KEY, USER_API_SECRET, expiration)
* ```

@@ -109,0 +108,0 @@ *

@@ -33,5 +33,8 @@ "use strict";

* ```typescript
* import {createAPISig, APISig} from '@textile/hub'
* import {createAPISig, APISig} from '@textile/threads'
*
* const sig: APISig = createAPISig(USER_API_KEY)
* async function sign (key: string) {
* const sig: APISig = await createAPISig(key)
* return sig
* }
* ```

@@ -63,15 +66,11 @@ * @param {string} secret - The key secret to generate the signature. See KeyInfo for details.

* ```typescript
* import {createAPISig, Client, KeyInfo, UserAuth} from '@textile/hub';
* import {createUserAuth, KeyInfo, UserAuth} from '@textile/threads';
*
* // The first step is to create a basic session with your user group keys. See KeyInfo type.
* const keyInfo: KeyInfo = {
* key: USER_API_KEY,
* secret: USER_API_SECRET,
* type: 0,
* async function auth (keyInfo: KeyInfo) {
* // Create an expiration and create a signature. 60s or less is recommended.
* const expiration = new Date(Date.now() + 60 * 1000)
* // Generate a new UserAuth
* const userAuth: UserAuth = await createUserAuth(keyInfo.key, keyInfo.secret, expiration)
* return userAuth
* }
* const db = await Client.withKeyInfo(keyInfo)
*
* // Create an expiration and create a signature. 60s or less is recommended.
* const expiration = new Date(Date.now() + 60 * seconds)
* const userAuth: UserAuth = await createUserAuth(USER_API_KEY, USER_API_SECRET, expiration)
* ```

@@ -78,0 +77,0 @@ *

var threads=function(e){function t(t){for(var r,u,a=t[0],c=t[1],f=t[2],l=0,d=[];l<a.length;l++)u=a[l],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&d.push(o[u][0]),o[u]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(s&&s(t);d.length;)d.shift()();return i.push.apply(i,f||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},o={0:0},i=[];function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="";var a=window.webpackJsonpthreads=window.webpackJsonpthreads||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var f=0;f<a.length;f++)t(a[f]);var s=c;return i.push([1,1]),n()}([,function(e,t,n){"use strict";(function(e){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(u,a)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.expirationError=t.createUserAuth=t.createAPISig=void 0;const i=n(6),u=o(n(7));function a(t,n=new Date(Date.now()+6e4)){return r(this,void 0,void 0,(function*(){const r=u.default.decode(t),o=(null!=n?n:new Date).toISOString(),a=new i.HMAC(r).update(e.from(o)).digest();return{sig:u.default.encode("base32",e.from(a)).toString(),msg:o}}))}t.createAPISig=a,t.createUserAuth=function(e,t,n=new Date(Date.now()+6e4),o){return r(this,void 0,void 0,(function*(){const r=yield a(t,n);return Object.assign(Object.assign({},r),{key:e,token:o})}))},t.expirationError=new Error("Auth expired. Consider calling withKeyInfo or withAPISig to refresh.")}).call(this,n(0).Buffer)}]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsIm1vZHVsZXMiLCJ3ZWJwYWNrSnNvbnBDYWxsYmFjayIsImRhdGEiLCJtb2R1bGVJZCIsImNodW5rSWQiLCJjaHVua0lkcyIsIm1vcmVNb2R1bGVzIiwiZXhlY3V0ZU1vZHVsZXMiLCJpIiwicmVzb2x2ZXMiLCJsZW5ndGgiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbnN0YWxsZWRDaHVua3MiLCJwdXNoIiwicGFyZW50SnNvbnBGdW5jdGlvbiIsInNoaWZ0IiwiZGVmZXJyZWRNb2R1bGVzIiwiYXBwbHkiLCJjaGVja0RlZmVycmVkTW9kdWxlcyIsInJlc3VsdCIsImRlZmVycmVkTW9kdWxlIiwiZnVsZmlsbGVkIiwiaiIsImRlcElkIiwic3BsaWNlIiwiX193ZWJwYWNrX3JlcXVpcmVfXyIsInMiLCJpbnN0YWxsZWRNb2R1bGVzIiwiMCIsImV4cG9ydHMiLCJtb2R1bGUiLCJsIiwibSIsImMiLCJkIiwibmFtZSIsImdldHRlciIsIm8iLCJkZWZpbmVQcm9wZXJ0eSIsImVudW1lcmFibGUiLCJnZXQiLCJyIiwiU3ltYm9sIiwidG9TdHJpbmdUYWciLCJ2YWx1ZSIsInQiLCJtb2RlIiwiX19lc01vZHVsZSIsIm5zIiwiY3JlYXRlIiwia2V5IiwiYmluZCIsIm4iLCJvYmplY3QiLCJwcm9wZXJ0eSIsInAiLCJqc29ucEFycmF5Iiwid2luZG93Iiwib2xkSnNvbnBGdW5jdGlvbiIsInNsaWNlIiwi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FBVSxDQUFFbkQsTUFDL0NrRCxjQVFadkUsRUFBUWtELGdCQUFrQixJQUFJd0IsTUFBTSwwRUFFUDVGLEtBQUttRCxLQUFNckMsRUFBb0IsR0FBR21DIiwiZmlsZSI6Ii4vbWFpbi5qcyIsInNvdXJjZVJvb3QiOiIifQ==
{
"name": "@textile/security",
"version": "0.1.2",
"version": "0.1.3",
"description": "Common types/interfaces for Textile security including authentication and authorization.",

@@ -36,3 +36,3 @@ "main": "dist/index",

},
"gitHead": "165f11da661e57db4a0bad9d1ea106c4400c1dd7"
"gitHead": "309e49547001a3a367028f78bd5db08e89b279db"
}

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