@privy-io/encoding
Advanced tools
@@ -1,2 +0,2 @@ | ||
| "use strict";var t=require("./base64/to-base64-string-from-bytes.js"),e=require("./base64/to-bytes-from-base64-string.js"),r=require("./base64url/to-base64url-string-from-bytes.js"),s=require("./base64url/to-bytes-from-base64url-string.js"),o=require("./hex/to-bytes-from-hex-string.js"),i=require("./hex/to-hex-string-from-bytes.js"),y=require("./utf8/to-bytes-from-utf8-string.js"),u=require("./utf8/to-utf8-string-from-bytes.js");require("@scure/base");const m={utf8:{fromBytes:u.toUtf8StringFromBytes,toBytes:y.toBytesFromUtf8String},base64:{fromBytes:t.toBase64StringFromBytes,toBytes:e.toBytesFromBase64String},base64url:{fromBytes:r.toBase64urlStringFromBytes,toBytes:s.toBytesFromBase64urlString},hex:{fromBytes:i.toHexStringFromBytes,toBytes:o.toBytesFromHexString}};exports.VERSION="0.1.2",exports.encoding=m; | ||
| "use strict";var t=require("./base64/to-base64-string-from-bytes.js"),e=require("./base64/to-bytes-from-base64-string.js"),r=require("./base64url/to-base64url-string-from-bytes.js"),s=require("./base64url/to-bytes-from-base64url-string.js"),o=require("./hex/to-bytes-from-hex-string.js"),i=require("./hex/to-hex-string-from-bytes.js"),y=require("./utf8/to-bytes-from-utf8-string.js"),u=require("./utf8/to-utf8-string-from-bytes.js");require("@scure/base");const m={utf8:{fromBytes:u.toUtf8StringFromBytes,toBytes:y.toBytesFromUtf8String},base64:{fromBytes:t.toBase64StringFromBytes,toBytes:e.toBytesFromBase64String},base64url:{fromBytes:r.toBase64urlStringFromBytes,toBytes:s.toBytesFromBase64urlString},hex:{fromBytes:i.toHexStringFromBytes,toBytes:o.toBytesFromHexString}};exports.VERSION="0.1.3",exports.encoding=m; | ||
| //# sourceMappingURL=index.js.map |
@@ -12,2 +12,3 @@ type NonSharedUint8Array = ReturnType<typeof Uint8Array.from>; | ||
| export { type Encoder, type Encodings, type NonSharedUint8Array, VERSION, encoding }; | ||
| export { VERSION, encoding }; | ||
| export type { Encoder, Encodings, NonSharedUint8Array }; |
@@ -12,2 +12,3 @@ type NonSharedUint8Array = ReturnType<typeof Uint8Array.from>; | ||
| export { type Encoder, type Encodings, type NonSharedUint8Array, VERSION, encoding }; | ||
| export { VERSION, encoding }; | ||
| export type { Encoder, Encodings, NonSharedUint8Array }; |
@@ -1,2 +0,2 @@ | ||
| import{toBase64StringFromBytes as t}from"./base64/to-base64-string-from-bytes.mjs";import{toBytesFromBase64String as s}from"./base64/to-bytes-from-base64-string.mjs";import{toBase64urlStringFromBytes as r}from"./base64url/to-base64url-string-from-bytes.mjs";import{toBytesFromBase64urlString as o}from"./base64url/to-bytes-from-base64url-string.mjs";import{toBytesFromHexString as m}from"./hex/to-bytes-from-hex-string.mjs";import{toHexStringFromBytes as e}from"./hex/to-hex-string-from-bytes.mjs";import{toBytesFromUtf8String as f}from"./utf8/to-bytes-from-utf8-string.mjs";import{toUtf8StringFromBytes as b}from"./utf8/to-utf8-string-from-bytes.mjs";import"@scure/base";const i="0.1.2",y={utf8:{fromBytes:b,toBytes:f},base64:{fromBytes:t,toBytes:s},base64url:{fromBytes:r,toBytes:o},hex:{fromBytes:e,toBytes:m}};export{i as VERSION,y as encoding}; | ||
| import{toBase64StringFromBytes as t}from"./base64/to-base64-string-from-bytes.mjs";import{toBytesFromBase64String as s}from"./base64/to-bytes-from-base64-string.mjs";import{toBase64urlStringFromBytes as r}from"./base64url/to-base64url-string-from-bytes.mjs";import{toBytesFromBase64urlString as o}from"./base64url/to-bytes-from-base64url-string.mjs";import{toBytesFromHexString as m}from"./hex/to-bytes-from-hex-string.mjs";import{toHexStringFromBytes as e}from"./hex/to-hex-string-from-bytes.mjs";import{toBytesFromUtf8String as f}from"./utf8/to-bytes-from-utf8-string.mjs";import{toUtf8StringFromBytes as b}from"./utf8/to-utf8-string-from-bytes.mjs";import"@scure/base";const i="0.1.3",y={utf8:{fromBytes:b,toBytes:f},base64:{fromBytes:t,toBytes:s},base64url:{fromBytes:r,toBytes:o},hex:{fromBytes:e,toBytes:m}};export{i as VERSION,y as encoding}; | ||
| //# sourceMappingURL=index.mjs.map |
+7
-6
| { | ||
| "name": "@privy-io/encoding", | ||
| "version": "0.1.2", | ||
| "version": "0.1.3", | ||
| "description": "Utilities for encoding and decoding strings", | ||
@@ -37,2 +37,4 @@ "license": "Apache-2.0", | ||
| "devDependencies": { | ||
| "oxlint": "1.57.0", | ||
| "oxlint-tsgolint": "0.18.0", | ||
| "@rollup/plugin-node-resolve": "^15.3.0", | ||
@@ -52,6 +54,5 @@ "@rollup/plugin-replace": "^6.0.1", | ||
| "rollup-plugin-dts": "^6.1.1", | ||
| "typescript": "~5.5.3", | ||
| "typescript": "~6.0.2", | ||
| "@privy-io/build-config": "1.0.0", | ||
| "@privy-io/tsconfig": "0.0.0", | ||
| "@privy-io/eslint-config-custom": "0.0.0" | ||
| "@privy-io/tsconfig": "0.0.0" | ||
| }, | ||
@@ -69,4 +70,4 @@ "publishConfig": { | ||
| "dev:types": "rollup --config rollup.types.mjs --watch", | ||
| "format": "eslint src --fix", | ||
| "lint": "eslint src", | ||
| "format": "oxlint src --fix", | ||
| "lint": "oxlint src", | ||
| "test": "jest", | ||
@@ -73,0 +74,0 @@ "test:watch": "jest --watch" |
24328
0.05%57
1.79%19
5.56%