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

@textile/threads-id

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textile/threads-id - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

100

dist/index.d.ts

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

export { Variant } from './variant';
export { ThreadID } from './thread-id';
/// <reference types="node" />
import { name as Name } from 'multibase';
import { Variant } from './variant';
export { Variant };
/**
* ThreadID represents a self-describing Thread identifier.
*
* It is formed by a Version, a Variant, and a random number of a given length.
* @public
*
* @example
* Create a new random ThreadID
* ```typescript
* import { ThreadID } from '@textile/threads'
*
* const id = ThreadID.fromRandom()
*
* console.log(id)
* ```
*
* @example
* Convert a ThreadID to/from a Base32 string
* ```typescript
* import { ThreadID } from '@textile/threads'
*
* const id = ThreadID.fromRandom()
* const str = id.toString()
* const restored = ThreadID.fromString(str)
* ```
*/
export declare class ThreadID {
readonly buf: Buffer;
constructor(buf: Uint8Array);
/**
* Versions. Currently only V1 is supported.
*/
static V1: number;
static Variant: typeof Variant;
/**
* fromRandom creates a new random ID object.
* @param variant The Thread variant to use. @see Variant
* @param size The size of the random component to use. Defaults to 32 bytes.
*/
static fromRandom(variant?: Variant, size?: number): ThreadID;
/**
* fromString parses an ID-encoded string and returns an ID object.
* For IDV1, an ID-encoded string is primarily a multibase string:
* <multibase-type-code><base-encoded-string>
* The base-encoded string represents a:
* <version><variant><random-number>
* @param v The input encoded Thread ID.
*/
static fromString(v: string | Uint8Array): ThreadID;
/**
* fromBytes takes an ID data slice, parses it and returns an ID.
* For IDV1, the data buffer is in the form:
* <version><variant><random-number>
* Please use fromEncoded when parsing a regular ID string, as fromBytes does not
* expect multibase-encoded data. fromBytes accepts the output of ID.bytes().
* @param data The input Thread ID bytes.
*/
static fromBytes(data: Uint8Array): ThreadID;
/**
* getEncoding returns the multibase encoding for a multibase encoded string.
* Returns the name of the encoding if it is encoded, and throws an error otherwise.
* @param v The Thread ID to check.
*/
static getEncoding(v: string): string;
/**
* isDefined returns true if an ID is defined.
* Calling any other methods on an undefined ID will result in undefined behavior.
*/
isDefined(): boolean;
/**
* toBytes returns the byte representation of an ID.
* The output of bytes can be parsed back into an ID with fromBytes.
*/
toBytes(): Buffer;
/**
* equals checks that two IDs are the same.
* @param o The other Thread ID.
*/
equals(o: ThreadID): boolean;
/**
* version returns the ID version.
*/
version(): number;
/**
* variant returns the variant of an ID.
*/
variant(): number;
/**
* toString returns the (multibase encoded) string representation of an ID.
* @param base Name of the base to use for encoding. Defaults to 'base32'.
*/
toString(base?: Name): string;
}
export default ThreadID;
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var variant_1 = require("./variant");
exports.ThreadID = exports.Variant = void 0;
const varint_1 = require("varint");
const sync_randombytes_1 = __importDefault(require("@consento/sync-randombytes"));
const multibase_1 = __importDefault(require("multibase"));
const variant_1 = require("./variant");
Object.defineProperty(exports, "Variant", { enumerable: true, get: function () { return variant_1.Variant; } });
var thread_id_1 = require("./thread-id");
Object.defineProperty(exports, "ThreadID", { enumerable: true, get: function () { return thread_id_1.ThreadID; } });
/**
* ThreadID represents a self-describing Thread identifier.
*
* It is formed by a Version, a Variant, and a random number of a given length.
* @public
*
* @example
* Create a new random ThreadID
* ```typescript
* import { ThreadID } from '@textile/threads'
*
* const id = ThreadID.fromRandom()
*
* console.log(id)
* ```
*
* @example
* Convert a ThreadID to/from a Base32 string
* ```typescript
* import { ThreadID } from '@textile/threads'
*
* const id = ThreadID.fromRandom()
* const str = id.toString()
* const restored = ThreadID.fromString(str)
* ```
*/
class ThreadID {
constructor(buf) {
this.buf = Buffer.from(buf);
}
/**
* fromRandom creates a new random ID object.
* @param variant The Thread variant to use. @see Variant
* @param size The size of the random component to use. Defaults to 32 bytes.
*/
static fromRandom(variant = ThreadID.Variant.Raw, size = 32) {
// two 8 bytes (max) numbers plus random bytes
const bytes = Buffer.concat([
Buffer.from(varint_1.encode(ThreadID.V1)),
Buffer.from(varint_1.encode(variant)),
sync_randombytes_1.default(Buffer.alloc(size)),
]);
return new ThreadID(bytes);
}
/**
* fromString parses an ID-encoded string and returns an ID object.
* For IDV1, an ID-encoded string is primarily a multibase string:
* <multibase-type-code><base-encoded-string>
* The base-encoded string represents a:
* <version><variant><random-number>
* @param v The input encoded Thread ID.
*/
static fromString(v) {
if (v.length < 2) {
throw new Error('id too short');
}
const data = multibase_1.default.decode(Buffer.from(v));
return ThreadID.fromBytes(data);
}
/**
* fromBytes takes an ID data slice, parses it and returns an ID.
* For IDV1, the data buffer is in the form:
* <version><variant><random-number>
* Please use fromEncoded when parsing a regular ID string, as fromBytes does not
* expect multibase-encoded data. fromBytes accepts the output of ID.bytes().
* @param data The input Thread ID bytes.
*/
static fromBytes(data) {
let copy = Buffer.from(data);
const version = varint_1.decode(copy);
if (version != 1) {
throw new Error(`expected 1 as the id version number, got: ${version}.`);
}
copy = copy.slice(varint_1.decode.bytes, copy.length);
const variant = varint_1.decode(copy);
if (!(variant in ThreadID.Variant)) {
throw new Error('invalid variant.');
}
const id = copy.slice(varint_1.decode.bytes, copy.length);
if (id.length < 16) {
throw new Error('random component too small.');
}
return new ThreadID(Buffer.from(data));
}
/**
* getEncoding returns the multibase encoding for a multibase encoded string.
* Returns the name of the encoding if it is encoded, and throws an error otherwise.
* @param v The Thread ID to check.
*/
static getEncoding(v) {
if (v.length < 2) {
throw new Error('Too Short');
}
const encoding = multibase_1.default.isEncoded(v);
// check encoding is valid
if (encoding === false) {
throw new Error('Invalid Encoding');
}
return encoding;
}
/**
* isDefined returns true if an ID is defined.
* Calling any other methods on an undefined ID will result in undefined behavior.
*/
isDefined() {
return this.buf.length > 0;
}
/**
* toBytes returns the byte representation of an ID.
* The output of bytes can be parsed back into an ID with fromBytes.
*/
toBytes() {
return Buffer.from(this.buf);
}
/**
* equals checks that two IDs are the same.
* @param o The other Thread ID.
*/
equals(o) {
return this.buf.equals(o.buf);
}
/**
* version returns the ID version.
*/
version() {
return varint_1.decode(this.buf);
}
/**
* variant returns the variant of an ID.
*/
variant() {
let copy = Buffer.from(this.buf);
varint_1.decode(copy);
copy = copy.slice(varint_1.decode.bytes);
return varint_1.decode(copy);
}
/**
* toString returns the (multibase encoded) string representation of an ID.
* @param base Name of the base to use for encoding. Defaults to 'base32'.
*/
toString(base = 'base32') {
switch (this.version()) {
case ThreadID.V1:
return multibase_1.default.encode(base, this.buf).toString();
default:
throw new Error('unknown ID version.');
}
}
}
exports.ThreadID = ThreadID;
/**
* Versions. Currently only V1 is supported.
*/
ThreadID.V1 = 0x01;
ThreadID.Variant = variant_1.Variant;
// eslint-disable-next-line import/no-default-export
exports.default = ThreadID;
//# sourceMappingURL=index.js.map

4

dist/main.js

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

var threads=function(e){function t(t){for(var n,u,a=t[0],c=t[1],s=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(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);d.length;)d.shift()();return i.push.apply(i,s||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(i.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={0:0},i=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},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 s=0;s<a.length;s++)t(a[s]);var f=c;return i.push([3,1]),r()}({1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Variant=void 0,function(e){e[e.Raw=85]="Raw",e[e.AccessControlled=112]="AccessControlled"}(t.Variant||(t.Variant={}))},17:function(e,t){},3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);Object.defineProperty(t,"Variant",{enumerable:!0,get:function(){return n.Variant}});var o=r(4);Object.defineProperty(t,"ThreadID",{enumerable:!0,get:function(){return o.ThreadID}})},4:function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ThreadID=void 0;const o=r(8),i=n(r(12)),u=n(r(18)),a=r(1);let c=(()=>{class t{constructor(t){this.buf=e.from(t)}static fromRandom(r=t.Variant.Raw,n=32){const u=e.concat([e.from(o.encode(t.V1)),e.from(o.encode(r)),i.default(e.alloc(n))]);return new t(u)}static fromString(r){if(r.length<2)throw new Error("id too short");const n=u.default.decode(e.from(r));return t.fromBytes(n)}static fromBytes(r){let n=e.from(r);const i=o.decode(n);if(1!=i)throw new Error(`expected 1 as the id version number, got: ${i}.`);n=n.slice(o.decode.bytes,n.length);if(!(o.decode(n)in t.Variant))throw new Error("invalid variant.");if(n.slice(o.decode.bytes,n.length).length<16)throw new Error("random component too small.");return new t(e.from(r))}static getEncoding(e){if(e.length<2)throw new Error("Too Short");const t=u.default.isEncoded(e);if(!1===t)throw new Error("Invalid Encoding");return t}isDefined(){return this.buf.length>0}toBytes(){return e.from(this.buf)}equals(e){return this.buf.equals(e.buf)}version(){return o.decode(this.buf)}variant(){let t=e.from(this.buf);return o.decode(t),t=t.slice(o.decode.bytes),o.decode(t)}toString(e="base32"){switch(this.version()){case t.V1:return u.default.encode(e,this.buf).toString();default:throw new Error("unknown ID version.")}}}return t.V1=1,t.Variant=a.Variant,t})();t.ThreadID=c}).call(this,r(0).Buffer)}});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsIm1vZHVsZXMiLCJ3ZWJwYWNrSnNvbnBDYWxsYmFjayIsImRhdGEiLCJtb2R1bGVJZCIsImNodW5rSWQiLCJjaHVua0lkcyIsIm1vcmVNb2R1bGVzIiwiZXhlY3V0ZU1vZHVsZXMiLCJpIiwicmVzb2x2ZXMiLCJsZW5ndGgiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbnN0YWxsZWRDaHVua3MiLCJwdXNoIiwicGFyZW50SnNvbnBGdW5jdGlvbiIsInNoaWZ0IiwiZGVmZXJyZWRNb2R1bGVzIiwiYXBwbHkiLCJjaGVja0RlZmVycmVkTW9kdWxlcyIsInJlc3VsdCIsImRlZmVycmVkTW9kdWxlIiwiZnVsZmlsbGVkIiwiaiIsImRlcElkIiwic3BsaWNlIiwiX193ZWJwYWNrX3JlcXVpcmVfXyIsInMiLCJpbnN0YWxsZWRNb2R1bGVzIiwiMCIsImV4cG9ydHMiLCJtb2R1bGUiLCJsIiwibSIsImMiLCJkIiwibmFtZSIsImdldHRlciIsIm8iLCJkZWZpbmVQcm9wZXJ0eSIsImVudW1lcmFibGUiLCJnZXQiLCJyIiwiU3ltYm9s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FGQUosRUFBU2dCLE9BQU9FLEdBQ2hCQSxFQUFPQSxFQUFLaEMsTUFBTWMsRUFBU2dCLE9BQU9QLE9BQzNCVCxFQUFTZ0IsT0FBT0UsR0FNM0JmLFNBQVNvQixFQUFPLFVBQ1osT0FBUTFCLEtBQUtzQixXQUNULEtBQUsxQixFQUFTbUIsR0FDVixPQUFPVixFQUFZSCxRQUFRWSxPQUFPWSxFQUFNMUIsS0FBS08sS0FBS29CLFdBQ3RELFFBQ0ksTUFBTSxJQUFJVCxNQUFNLHlCQVNoQyxPQUZBdEIsRUFBU21CLEdBQUssRUFDZG5CLEVBQVNMLFFBQVVHLEVBQVVILFFBQ3RCSyxHQWpJa0IsR0FtSTdCckMsRUFBUXFDLFNBQVdBLElBRVV2RCxLQUFLMkQsS0FBTTdDLEVBQW9CLEdBQUcyQyIsImZpbGUiOiIuL21haW4uanMiLCJzb3VyY2VSb290IjoiIn0=
var threads=function(e){function t(t){for(var n,a,u=t[0],c=t[1],s=t[2],l=0,d=[];l<u.length;l++)a=u[l],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&d.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);d.length;)d.shift()();return i.push.apply(i,s||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,u=1;u<r.length;u++){var c=r[u];0!==o[c]&&(n=!1)}n&&(i.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={0:0},i=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var u=window.webpackJsonpthreads=window.webpackJsonpthreads||[],c=u.push.bind(u);u.push=t,u=u.slice();for(var s=0;s<u.length;s++)t(u[s]);var f=c;return i.push([2,1]),r()}({15:function(e,t){},2:function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ThreadID=t.Variant=void 0;const o=r(6),i=n(r(10)),a=n(r(16)),u=r(24);Object.defineProperty(t,"Variant",{enumerable:!0,get:function(){return u.Variant}});class c{constructor(t){this.buf=e.from(t)}static fromRandom(t=c.Variant.Raw,r=32){const n=e.concat([e.from(o.encode(c.V1)),e.from(o.encode(t)),i.default(e.alloc(r))]);return new c(n)}static fromString(t){if(t.length<2)throw new Error("id too short");const r=a.default.decode(e.from(t));return c.fromBytes(r)}static fromBytes(t){let r=e.from(t);const n=o.decode(r);if(1!=n)throw new Error(`expected 1 as the id version number, got: ${n}.`);r=r.slice(o.decode.bytes,r.length);if(!(o.decode(r)in c.Variant))throw new Error("invalid variant.");if(r.slice(o.decode.bytes,r.length).length<16)throw new Error("random component too small.");return new c(e.from(t))}static getEncoding(e){if(e.length<2)throw new Error("Too Short");const t=a.default.isEncoded(e);if(!1===t)throw new Error("Invalid Encoding");return t}isDefined(){return this.buf.length>0}toBytes(){return e.from(this.buf)}equals(e){return this.buf.equals(e.buf)}version(){return o.decode(this.buf)}variant(){let t=e.from(this.buf);return o.decode(t),t=t.slice(o.decode.bytes),o.decode(t)}toString(e="base32"){switch(this.version()){case c.V1:return a.default.encode(e,this.buf).toString();default:throw new Error("unknown ID version.")}}}t.ThreadID=c,c.V1=1,c.Variant=u.Variant,t.default=c}).call(this,r(0).Buffer)},24:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Variant=void 0,function(e){e[e.Raw=85]="Raw",e[e.AccessControlled=112]="AccessControlled"}(t.Variant||(t.Variant={}))}});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsIm1vZHVsZXMiLCJ3ZWJwYWNrSnNvbnBDYWxsYmFjayIsImRhdGEiLCJtb2R1bGVJZCIsImNodW5rSWQiLCJjaHVua0lkcyIsIm1vcmVNb2R1bGVzIiwiZXhlY3V0ZU1vZHVsZXMiLCJpIiwicmVzb2x2ZXMiLCJsZW5ndGgiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbnN0YWxsZWRDaHVua3MiLCJwdXNoIiwicGFyZW50SnNvbnBGdW5jdGlvbiIsInNoaWZ0IiwiZGVmZXJyZWRNb2R1bGVzIiwiYXBwbHkiLCJjaGVja0RlZmVycmVkTW9kdWxlcyIsInJlc3VsdCIsImRlZmVycmVkTW9kdWxlIiwiZnVsZmlsbGVkIiwiaiIsImRlcElkIiwic3BsaWNlIiwiX193ZWJwYWNrX3JlcXVpcmVfXyIsInMiLCJpbnN0YWxsZWRNb2R1bGVzIiwiMCIsImV4cG9ydHMiLCJtb2R1bGUiLCJsIiwibSIsImMiLCJkIiwibmFtZSIsImdldHRlciIsIm8iLCJkZWZpbmVQcm9wZXJ0eSIsImVudW1lcmFibGUiLCJnZXQiLCJyIiwiU3ltYm9sIiwidG9TdHJpbmdUYWciLCJ2YWx1ZSIsInQiLCJtb2RlIiwiX19lc01vZHVsZSIsIm5zIiwiY3JlYXRlIiwia2V5Iiw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dkMsRUFBUXVDLFVBQVl2QyxFQUFRdUMsUUFBVSIsImZpbGUiOiIuL21haW4uanMiLCJzb3VyY2VSb290IjoiIn0=
{
"name": "@textile/threads-id",
"version": "0.1.4",
"version": "0.1.5",
"main": "dist/index",

@@ -37,3 +37,3 @@ "types": "dist/index",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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