@solana/codecs-core 2.0.0-experimental.ee4214c → 2.0.0-experimental.eeb355e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.browser.cjs
CHANGED
package/dist/index.node.cjs
CHANGED
package/dist/types/codec.d.ts
CHANGED
|
@@ -41,9 +41,9 @@ export type Decoder<T> = CodecData & {
|
|
|
41
41
|
*/
|
|
42
42
|
export type Codec<From, To extends From = From> = Encoder<From> & Decoder<To>;
|
|
43
43
|
/**
|
|
44
|
-
* Defines common
|
|
44
|
+
* Defines common configurations for codec factories.
|
|
45
45
|
*/
|
|
46
|
-
export type
|
|
46
|
+
export type BaseCodecConfig = {
|
|
47
47
|
/** A custom description for the Codec. */
|
|
48
48
|
description?: string;
|
|
49
49
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../../src/codec.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACpB,mCAAmC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,sFAAsF;IACtF,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,SAAS,GAAG;IACjC,oDAAoD;IACpD,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,UAAU,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,SAAS,GAAG;IACjC;;;OAGG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;CAC/D,CAAC;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GAAG,CAAC,IAAI;KACzC,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CACpC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/codecs-core",
|
|
3
|
-
"version": "2.0.0-experimental.
|
|
3
|
+
"version": "2.0.0-experimental.eeb355e",
|
|
4
4
|
"description": "Core types and helpers for encoding and decoding byte arrays on Solana",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@solana/eslint-config-solana": "^1.0.2",
|
|
53
|
-
"@swc/jest": "^0.2.
|
|
54
|
-
"@types/jest": "^29.5.
|
|
53
|
+
"@swc/jest": "^0.2.29",
|
|
54
|
+
"@types/jest": "^29.5.6",
|
|
55
55
|
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
56
56
|
"@typescript-eslint/parser": "^6.3.0",
|
|
57
57
|
"agadoo": "^3.0.0",
|
|
58
58
|
"eslint": "^8.45.0",
|
|
59
|
-
"eslint-plugin-jest": "^27.2
|
|
59
|
+
"eslint-plugin-jest": "^27.4.2",
|
|
60
60
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
61
61
|
"jest": "^29.7.0",
|
|
62
|
-
"jest-environment-jsdom": "^29.
|
|
63
|
-
"jest-runner-eslint": "^2.1.
|
|
62
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
63
|
+
"jest-runner-eslint": "^2.1.2",
|
|
64
64
|
"jest-runner-prettier": "^1.0.0",
|
|
65
65
|
"prettier": "^2.8",
|
|
66
66
|
"tsup": "7.2.0",
|