@textile/threads-id
Advanced tools
Comparing version 0.0.9 to 0.1.0
@@ -16,3 +16,3 @@ "use strict"; | ||
constructor(buf) { | ||
this.buf = buf; | ||
this.buf = Buffer.from(buf); | ||
} | ||
@@ -45,3 +45,3 @@ /** | ||
} | ||
const data = Buffer.from(multibase_1.default.decode(v)); | ||
const data = multibase_1.default.decode(Buffer.from(v)); | ||
return ThreadID.fromBytes(data); | ||
@@ -48,0 +48,0 @@ } |
@@ -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([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=void 0;const o=r(6),i=n(r(10)),u=n(r(16));class a{constructor(e){this.buf=e}static fromRandom(t=a.Variant.Raw,r=32){const n=e.concat([e.from(o.encode(a.V1)),e.from(o.encode(t)),i.default(e.alloc(r))]);return new a(n)}static fromString(t){if(t.length<2)throw new Error("id too short");const r=e.from(u.default.decode(t));return a.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 a.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 a(e.from(t))}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 a.V1:return u.default.encode(e,this.buf).toString();default:throw new Error("unknown ID version.")}}}t.ThreadID=a,function(e){let t;e.V1=1,function(e){e[e.Raw=85]="Raw",e[e.AccessControlled=112]="AccessControlled"}(t=e.Variant||(e.Variant={}))}(a||(a={})),t.ThreadID=a}).call(this,r(0).Buffer)}}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsI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FdBQ1QsS0FBS3JCLEVBQVNjLEdBQ1YsT0FBT1gsRUFBWUosUUFBUWMsT0FBT1ksRUFBTTVCLEtBQUtRLEtBQUtxQixXQUN0RCxRQUNJLE1BQU0sSUFBSVQsTUFBTSx5QkFJaEN2RCxFQUFRc0MsU0FBV0EsRUFFbkIsU0FBV0EsR0FRUCxJQUFJTyxFQUpKUCxFQUFTYyxHQUFLLEVBS2QsU0FBV1AsR0FDUEEsRUFBUUEsRUFBYSxJQUFJLElBQU0sTUFDL0JBLEVBQVFBLEVBQTBCLGlCQUFJLEtBQU8sbUJBRmpELENBR0dBLEVBQVVQLEVBQVNPLFVBQVlQLEVBQVNPLFFBQVUsS0FaekQsQ0FhR1AsSUFBYUEsRUFBVyxLQUMzQnRDLEVBQVFzQyxTQUFXQSxJQUVVeEQsS0FBS3FELEtBQU12QyxFQUFvQixHQUFHcUMiLCJmaWxlIjoiLi9tYWluLmpzIiwic291cmNlUm9vdCI6IiJ9 | ||
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([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=void 0;const o=r(6),i=n(r(10)),u=n(r(16));class a{constructor(t){this.buf=e.from(t)}static fromRandom(t=a.Variant.Raw,r=32){const n=e.concat([e.from(o.encode(a.V1)),e.from(o.encode(t)),i.default(e.alloc(r))]);return new a(n)}static fromString(t){if(t.length<2)throw new Error("id too short");const r=u.default.decode(e.from(t));return a.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 a.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 a(e.from(t))}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 a.V1:return u.default.encode(e,this.buf).toString();default:throw new Error("unknown ID version.")}}}t.ThreadID=a,function(e){let t;e.V1=1,function(e){e[e.Raw=85]="Raw",e[e.AccessControlled=112]="AccessControlled"}(t=e.Variant||(e.Variant={}))}(a||(a={})),t.ThreadID=a}).call(this,r(0).Buffer)}}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly90aHJlYWRzL21haW4uanMiXSwibmFtZXMiOlsidGhyZWFkcyIsIm1vZHVsZXMiLCJ3ZWJwYWNrSnNvbnBDYWxsYmFjayIsImRhdGEiLCJtb2R1bGVJZCIsImNodW5rSWQiLCJjaHVua0lkcyIsIm1vcmVNb2R1bGVzIiwiZXhlY3V0ZU1vZHVsZXMiLCJpIiwicmVzb2x2ZXMiLCJsZW5ndGgiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbnN0YWxsZWRDaHVua3MiLCJwdXNoIiwicGFyZW50SnNvbnBGdW5jdGlvbiIsInNoaWZ0IiwiZGVmZXJyZWRNb2R1bGVzIiwiYXBwbHkiLCJjaGVja0RlZmVycmVkTW9kdWxlcyIsInJlc3VsdCIsImRlZmVycmVkTW9kdWxlIiwiZnVsZmlsbGVkIiwiaiIsImRlcElkIiwic3BsaWNlIiwiX193ZWJwYWNrX3JlcXVpcmVfXyIsInMiLCJpbnN0YWxsZWRNb2R1bGVzIiwiMCIsImV4cG9ydHMiLCJtb2R1bGUiLCJsIiwibSIsImMiLCJkIiwibmFtZSIsImdldHRlciIsIm8iLCJkZWZpbmVQcm9wZXJ0eSIsImVudW1lcmFibGUiLCJnZXQiLCJyIiwiU3ltYm9sIiwidG9TdHJpbmdUYWciLCJ2YWx1ZSIsInQiLCJtb2RlIiwiX19lc01vZHVsZSIsIm5zIiwiY3JlYXRlIiwia2V5IiwiYmluZCIsIm4iLCJvYmplY3QiLCJwcm9wZXJ0eSIsInAiLCJqc29ucEFycmF5I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QyxLQUs3QkQsVUFDSSxPQUFPSCxFQUFTaUIsT0FBT3JCLEtBQUtRLEtBS2hDRCxVQUNJLElBQUlnQixFQUFPekIsRUFBT1csS0FBS1QsS0FBS1EsS0FHNUIsT0FGQUosRUFBU2lCLE9BQU9FLEdBQ2hCQSxFQUFPQSxFQUFLNUIsTUFBTVMsRUFBU2lCLE9BQU9QLE9BQzNCVixFQUFTaUIsT0FBT0UsR0FNM0JoQixTQUFTcUIsRUFBTyxVQUNaLE9BQVE1QixLQUFLd0IsV0FDVCxLQUFLckIsRUFBU2MsR0FDVixPQUFPWCxFQUFZSixRQUFRYyxPQUFPWSxFQUFNNUIsS0FBS1EsS0FBS3FCLFdBQ3RELFFBQ0ksTUFBTSxJQUFJVCxNQUFNLHlCQUloQ3ZELEVBQVFzQyxTQUFXQSxFQUVuQixTQUFXQSxHQVFQLElBQUlRLEVBSkpSLEVBQVNjLEdBQUssRUFLZCxTQUFXTixHQUNQQSxFQUFRQSxFQUFhLElBQUksSUFBTSxNQUMvQkEsRUFBUUEsRUFBMEIsaUJBQUksS0FBTyxtQkFGakQsQ0FHR0EsRUFBVVIsRUFBU1EsVUFBWVIsRUFBU1EsUUFBVSxLQVp6RCxDQWFHUixJQUFhQSxFQUFXLEtBQzNCdEMsRUFBUXNDLFNBQVdBLElBRVV4RCxLQUFLcUQsS0FBTXZDLEVBQW9CLEdBQUdxQyIsImZpbGUiOiIuL21haW4uanMiLCJzb3VyY2VSb290IjoiIn0= |
{ | ||
"name": "@textile/threads-id", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"main": "dist/index", | ||
"types": "dist/index", | ||
"files": [ | ||
"dist" | ||
"dist/**/!(*.spec).js?(.map)" | ||
], | ||
@@ -36,3 +36,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "a5347049642e3bf9391482faf54401a0bd4d5b3c" | ||
"gitHead": "5015ba59fe772ed4923a82e5a8adeba57b8838c1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
134073
7
306