@schema-pack/message-pack 0.0.0-commit.98c1abf16dedc87c480d1336ad1a6da5c7770838 → 0.0.0-commit.cdc6b744227cc8ddcb9fc2fea8035c9fffab4fb5

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.
Files changed (85) hide show
  1. package/dist/cjs/{bigInt-ALGpR4Rn.d.cts → bigInt-CrswAzNE.d.cts} +3 -3
  2. package/dist/cjs/{bigInt-ALGpR4Rn.d.cts.map → bigInt-CrswAzNE.d.cts.map} +1 -1
  3. package/dist/cjs/{bufferWithExtensions-qiA6axeV.d.cts → bufferWithExtensions-Bn-W9WIx.d.cts} +2 -2
  4. package/dist/cjs/{bufferWithExtensions-qiA6axeV.d.cts.map → bufferWithExtensions-Bn-W9WIx.d.cts.map} +1 -1
  5. package/dist/cjs/bufferWithExtensions.d.cts +1 -1
  6. package/dist/cjs/decoder/decoder.d.cts +1 -1
  7. package/dist/cjs/decoder/decoderBuffer.d.cts +1 -1
  8. package/dist/cjs/decoder/index.d.cts +2 -2
  9. package/dist/cjs/{decoder-BugzrbIU.d.cts → decoder-BElySab6.d.cts} +3 -3
  10. package/dist/cjs/{decoder-BugzrbIU.d.cts.map → decoder-BElySab6.d.cts.map} +1 -1
  11. package/dist/cjs/{decoderBuffer-BFoz1PcE.d.cts → decoderBuffer-BQIG2-IB.d.cts} +2 -2
  12. package/dist/cjs/{decoderBuffer-BFoz1PcE.d.cts.map → decoderBuffer-BQIG2-IB.d.cts.map} +1 -1
  13. package/dist/cjs/encoder/encoder.cjs +59 -52
  14. package/dist/cjs/encoder/encoder.d.cts +1 -1
  15. package/dist/cjs/encoder/index.d.cts +2 -2
  16. package/dist/cjs/encoder/interfaces/index.d.cts +1 -1
  17. package/dist/cjs/encoder/interfaces/messagePackEncoder.d.cts +1 -1
  18. package/dist/cjs/encoder/types.d.cts +1 -1
  19. package/dist/cjs/{encoder-BliskZYy.d.cts → encoder-C9JlmRrE.d.cts} +6 -3
  20. package/dist/cjs/{encoder-BliskZYy.d.cts.map → encoder-C9JlmRrE.d.cts.map} +1 -1
  21. package/dist/cjs/extensions/bigint/bigInt.d.cts +1 -1
  22. package/dist/cjs/extensions/bigint/index.d.cts +1 -1
  23. package/dist/cjs/extensions/index.d.cts +2 -2
  24. package/dist/cjs/extensions/interfaces/index.d.cts +1 -1
  25. package/dist/cjs/extensions/interfaces/messagePackExtension.d.cts +1 -1
  26. package/dist/cjs/extensions/timestampDate/index.d.cts +1 -1
  27. package/dist/cjs/extensions/timestampDate/timestampDate.d.cts +1 -1
  28. package/dist/cjs/index.cjs +6 -8
  29. package/dist/cjs/index.d.cts +8 -9
  30. package/dist/cjs/interfaces/index.d.cts +1 -1
  31. package/dist/cjs/interfaces/messagePackBufferWithExtensions.d.cts +1 -1
  32. package/dist/cjs/{messagePackExtension-xBTe48A-.d.cts → messagePackExtension-DS5fpQDE.d.cts} +79 -1
  33. package/dist/cjs/{messagePackExtension-xBTe48A-.d.cts.map → messagePackExtension-DS5fpQDE.d.cts.map} +1 -1
  34. package/dist/cjs/{timestampDate-B8IXKYcA.d.cts → timestampDate-mzf7iMkQ.d.cts} +2 -2
  35. package/dist/cjs/{timestampDate-B8IXKYcA.d.cts.map → timestampDate-mzf7iMkQ.d.cts.map} +1 -1
  36. package/dist/cjs/{untypedExtension-DPZG3pQo.d.cts → untypedExtension-3ndklPO7.d.cts} +2 -2
  37. package/dist/cjs/{untypedExtension-DPZG3pQo.d.cts.map → untypedExtension-3ndklPO7.d.cts.map} +1 -1
  38. package/dist/cjs/untypedExtension.d.cts +1 -1
  39. package/dist/esm/{bigInt-lSrNuXkn.d.mts → bigInt-BqY-My-L.d.mts} +3 -3
  40. package/dist/esm/{bigInt-lSrNuXkn.d.mts.map → bigInt-BqY-My-L.d.mts.map} +1 -1
  41. package/dist/esm/{bufferWithExtensions-Bc7vjIkw.d.mts → bufferWithExtensions-Hh8BfPou.d.mts} +2 -2
  42. package/dist/esm/{bufferWithExtensions-Bc7vjIkw.d.mts.map → bufferWithExtensions-Hh8BfPou.d.mts.map} +1 -1
  43. package/dist/esm/bufferWithExtensions.d.mts +1 -1
  44. package/dist/esm/decoder/decoder.d.mts +1 -1
  45. package/dist/esm/decoder/decoderBuffer.d.mts +1 -1
  46. package/dist/esm/decoder/index.d.mts +2 -2
  47. package/dist/esm/{decoder-CQrtmASU.d.mts → decoder-uP4X234c.d.mts} +3 -3
  48. package/dist/esm/{decoder-CQrtmASU.d.mts.map → decoder-uP4X234c.d.mts.map} +1 -1
  49. package/dist/esm/{decoderBuffer-BKic0U2F.d.mts → decoderBuffer-BMkGFQou.d.mts} +2 -2
  50. package/dist/esm/{decoderBuffer-BKic0U2F.d.mts.map → decoderBuffer-BMkGFQou.d.mts.map} +1 -1
  51. package/dist/esm/encoder/encoder.d.mts +1 -1
  52. package/dist/esm/encoder/encoder.mjs +59 -52
  53. package/dist/esm/encoder/encoder.mjs.map +1 -1
  54. package/dist/esm/encoder/index.d.mts +2 -2
  55. package/dist/esm/encoder/interfaces/index.d.mts +1 -1
  56. package/dist/esm/encoder/interfaces/messagePackEncoder.d.mts +1 -1
  57. package/dist/esm/encoder/types.d.mts +1 -1
  58. package/dist/esm/{encoder-ZmHoedsB.d.mts → encoder-Cc1L1Xet.d.mts} +6 -3
  59. package/dist/esm/{encoder-ZmHoedsB.d.mts.map → encoder-Cc1L1Xet.d.mts.map} +1 -1
  60. package/dist/esm/extensions/bigint/bigInt.d.mts +1 -1
  61. package/dist/esm/extensions/bigint/index.d.mts +1 -1
  62. package/dist/esm/extensions/index.d.mts +2 -2
  63. package/dist/esm/extensions/interfaces/index.d.mts +1 -1
  64. package/dist/esm/extensions/interfaces/messagePackExtension.d.mts +1 -1
  65. package/dist/esm/extensions/timestampDate/index.d.mts +1 -1
  66. package/dist/esm/extensions/timestampDate/timestampDate.d.mts +1 -1
  67. package/dist/esm/index.d.mts +8 -9
  68. package/dist/esm/index.mjs +7 -8
  69. package/dist/esm/interfaces/index.d.mts +1 -1
  70. package/dist/esm/interfaces/messagePackBufferWithExtensions.d.mts +1 -1
  71. package/dist/esm/{messagePackExtension-Ceq7jzFB.d.mts → messagePackExtension-BSIrLaDi.d.mts} +79 -1
  72. package/dist/esm/{messagePackExtension-Ceq7jzFB.d.mts.map → messagePackExtension-BSIrLaDi.d.mts.map} +1 -1
  73. package/dist/esm/{timestampDate-uQGrWim5.d.mts → timestampDate-CK1MD05_.d.mts} +2 -2
  74. package/dist/esm/{timestampDate-uQGrWim5.d.mts.map → timestampDate-CK1MD05_.d.mts.map} +1 -1
  75. package/dist/esm/{untypedExtension-DKgyS2ak.d.mts → untypedExtension-DU4TuH0s.d.mts} +2 -2
  76. package/dist/esm/{untypedExtension-DKgyS2ak.d.mts.map → untypedExtension-DU4TuH0s.d.mts.map} +1 -1
  77. package/dist/esm/untypedExtension.d.mts +1 -1
  78. package/package.json +1 -5
  79. package/dist/cjs/benchmark/decoderDataTypesFactory.cjs +0 -37
  80. package/dist/cjs/benchmark/decoderDataTypesFactory.d.cts +0 -5
  81. package/dist/cjs/benchmark/decoderDataTypesFactory.d.cts.map +0 -1
  82. package/dist/esm/benchmark/decoderDataTypesFactory.d.mts +0 -6
  83. package/dist/esm/benchmark/decoderDataTypesFactory.d.mts.map +0 -1
  84. package/dist/esm/benchmark/decoderDataTypesFactory.mjs +0 -39
  85. package/dist/esm/benchmark/decoderDataTypesFactory.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { t as MessagePackDecoderBuffer } from "./messagePackDecoderBuffer-B2rRVlMX.cjs";
2
- import { r as ExtensionEncoder } from "./messagePackExtension-xBTe48A-.cjs";
3
- import { t as UntypedExtension } from "./untypedExtension-DPZG3pQo.cjs";
2
+ import { r as ExtensionEncoder } from "./messagePackExtension-DS5fpQDE.cjs";
3
+ import { t as UntypedExtension } from "./untypedExtension-3ndklPO7.cjs";
4
4
  //#region src/extensions/bigint/bigInt.d.ts
5
5
  /**
6
6
  * This class encodes and decodes JavaScript BigInt values that are outside the
@@ -32,4 +32,4 @@ declare class BigIntExtension<TBuffer extends Uint8Array = Uint8Array> extends U
32
32
  }
33
33
  //#endregion
34
34
  export { BigIntExtension as t };
35
- //# sourceMappingURL=bigInt-ALGpR4Rn.d.cts.map
35
+ //# sourceMappingURL=bigInt-CrswAzNE.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bigInt-ALGpR4Rn.d.cts","names":[],"sources":["../../src/extensions/bigint/bigInt.ts"],"mappings":";;;;;;;;;;;;cAcM,gBACJ,gBAAgB,aAAa,oBACrB,yBAAyB;;;;;;;;;;;;EAYjC,OAAO,wBAAwB,SAAS,iBAAiB;;;;;;EA4BzD,OAAO,QAAQ,0BAA0B"}
1
+ {"version":3,"file":"bigInt-CrswAzNE.d.cts","names":[],"sources":["../../src/extensions/bigint/bigInt.ts"],"mappings":";;;;;;;;;;;;cAcM,gBACJ,gBAAgB,aAAa,oBACrB,yBAAyB;;;;;;;;;;;;EAYjC,OAAO,wBAAwB,SAAS,iBAAiB;;;;;;EA4BzD,OAAO,QAAQ,0BAA0B"}
@@ -1,4 +1,4 @@
1
- import { o as MessagePackBufferWithExtensions, t as MessagePackExtension } from "./messagePackExtension-xBTe48A-.cjs";
1
+ import { o as MessagePackBufferWithExtensions, t as MessagePackExtension } from "./messagePackExtension-DS5fpQDE.cjs";
2
2
  //#region src/bufferWithExtensions.d.ts
3
3
  declare abstract class BufferWithExtensions<TBuffer extends Uint8Array = Uint8Array> implements MessagePackBufferWithExtensions<TBuffer> {
4
4
  protected extensions: Map<number, MessagePackExtension<unknown, TBuffer>>;
@@ -9,4 +9,4 @@ declare abstract class BufferWithExtensions<TBuffer extends Uint8Array = Uint8Ar
9
9
  }
10
10
  //#endregion
11
11
  export { BufferWithExtensions as t };
12
- //# sourceMappingURL=bufferWithExtensions-qiA6axeV.d.cts.map
12
+ //# sourceMappingURL=bufferWithExtensions-Bn-W9WIx.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bufferWithExtensions-qiA6axeV.d.cts","names":[],"sources":["../../src/bufferWithExtensions.ts"],"mappings":";;uBAGe,qBACb,gBAAgB,aAAa,uBAClB,gCAAgC;YACjC,YAAY,YAAY,8BAA8B;EAEhE;EAIA,aAAa,WAAW,8BAA8B;EAsBtD,qBACE,WAAW,8BAA8B;EAuB3C,eAAe,eAAe,8BAA8B"}
1
+ {"version":3,"file":"bufferWithExtensions-Bn-W9WIx.d.cts","names":[],"sources":["../../src/bufferWithExtensions.ts"],"mappings":";;uBAGe,qBACb,gBAAgB,aAAa,uBAClB,gCAAgC;YACjC,YAAY,YAAY,8BAA8B;EAEhE;EAIA,aAAa,WAAW,8BAA8B;EAsBtD,qBACE,WAAW,8BAA8B;EAuB3C,eAAe,eAAe,8BAA8B"}
@@ -1,2 +1,2 @@
1
- import { t as BufferWithExtensions } from "./bufferWithExtensions-qiA6axeV.cjs";
1
+ import { t as BufferWithExtensions } from "./bufferWithExtensions-Bn-W9WIx.cjs";
2
2
  export = BufferWithExtensions;
@@ -1,2 +1,2 @@
1
- import { t as Decoder } from "../decoder-BugzrbIU.cjs";
1
+ import { t as Decoder } from "../decoder-BElySab6.cjs";
2
2
  export = Decoder;
@@ -1,2 +1,2 @@
1
- import { t as DecoderBuffer } from "../decoderBuffer-BFoz1PcE.cjs";
1
+ import { t as DecoderBuffer } from "../decoderBuffer-BQIG2-IB.cjs";
2
2
  export = DecoderBuffer;
@@ -2,7 +2,7 @@ import { t as MessagePackTextDecoder } from "../messagePackTextDecoder-J3fr-wQn.
2
2
  import { t as MessagePackDecoderBuffer } from "../messagePackDecoderBuffer-B2rRVlMX.cjs";
3
3
  import { t as decode } from "../decode-BraWmoPw.cjs";
4
4
  import { t as DefaultTextDecoder } from "../defaultTextDecoder-DY92jDSO.cjs";
5
- import { t as DecoderBuffer } from "../decoderBuffer-BFoz1PcE.cjs";
6
- import { t as Decoder } from "../decoder-BugzrbIU.cjs";
5
+ import { t as DecoderBuffer } from "../decoderBuffer-BQIG2-IB.cjs";
6
+ import { t as Decoder } from "../decoder-BElySab6.cjs";
7
7
  import { t as NodeTextDecoder } from "../nodeTextDecoder-DrNFdTVk.cjs";
8
8
  export { Decoder, DecoderBuffer, DefaultTextDecoder, type MessagePackDecoderBuffer, type MessagePackTextDecoder, NodeTextDecoder, decode };
@@ -1,6 +1,6 @@
1
- import { t as MessagePackExtension } from "./messagePackExtension-xBTe48A-.cjs";
1
+ import { t as MessagePackExtension } from "./messagePackExtension-DS5fpQDE.cjs";
2
2
  import { t as DecoderBufferOptions } from "./types-CC2wkzZa.cjs";
3
- import { t as DecoderBuffer } from "./decoderBuffer-BFoz1PcE.cjs";
3
+ import { t as DecoderBuffer } from "./decoderBuffer-BQIG2-IB.cjs";
4
4
  //#region src/decoder/decoder.d.ts
5
5
  declare class Decoder<TBuffer extends Uint8Array = Uint8Array> {
6
6
  protected decoderBuffer: DecoderBuffer<TBuffer>;
@@ -12,4 +12,4 @@ declare class Decoder<TBuffer extends Uint8Array = Uint8Array> {
12
12
  }
13
13
  //#endregion
14
14
  export { Decoder as t };
15
- //# sourceMappingURL=decoder-BugzrbIU.d.cts.map
15
+ //# sourceMappingURL=decoder-BElySab6.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decoder-BugzrbIU.d.cts","names":[],"sources":["../../src/decoder/decoder.ts"],"mappings":";;;;cAIM,QAAQ,gBAAgB,aAAa;YAC/B,eAAe,cAAc;EAEvC,YAAY,UAAU,qBAAqB;EAI3C,OAAO,kBAAkB,eAAe,UAAU;EAQlD,aAAa,WAAW,8BAA8B;EAMtD,qBACE,WAAW,8BAA8B;EAO3C,iBACE,cACA,WAAW,KAAK,8BAA8B"}
1
+ {"version":3,"file":"decoder-BElySab6.d.cts","names":[],"sources":["../../src/decoder/decoder.ts"],"mappings":";;;;cAIM,QAAQ,gBAAgB,aAAa;YAC/B,eAAe,cAAc;EAEvC,YAAY,UAAU,qBAAqB;EAI3C,OAAO,kBAAkB,eAAe,UAAU;EAQlD,aAAa,WAAW,8BAA8B;EAMtD,qBACE,WAAW,8BAA8B;EAO3C,iBACE,cACA,WAAW,KAAK,8BAA8B"}
@@ -1,5 +1,5 @@
1
1
  import { t as MessagePackDecoderBuffer } from "./messagePackDecoderBuffer-B2rRVlMX.cjs";
2
- import { t as BufferWithExtensions } from "./bufferWithExtensions-qiA6axeV.cjs";
2
+ import { t as BufferWithExtensions } from "./bufferWithExtensions-Bn-W9WIx.cjs";
3
3
  import { t as DefaultTextDecoder } from "./defaultTextDecoder-DY92jDSO.cjs";
4
4
  import { t as DecoderBufferOptions } from "./types-CC2wkzZa.cjs";
5
5
  //#region src/decoder/decoderBuffer.d.ts
@@ -19,4 +19,4 @@ declare class DecoderBuffer<TBuffer extends Uint8Array = Uint8Array> extends Buf
19
19
  }
20
20
  //#endregion
21
21
  export { DecoderBuffer as t };
22
- //# sourceMappingURL=decoderBuffer-BFoz1PcE.d.cts.map
22
+ //# sourceMappingURL=decoderBuffer-BQIG2-IB.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decoderBuffer-BFoz1PcE.d.cts","names":[],"sources":["../../src/decoder/decoderBuffer.ts"],"mappings":";;;;;cAQM,cAAc,gBAAgB,aAAa,oBACvC,qBAAqB,oBAClB,yBAAyB;EAEpC,QAAQ;EACR;EACA,MAAM;EACN,aAAW;EAEX,YAAY,UAAU,qBAAqB;EAU3C,UAAU,QAAQ;EAYlB,UAAU;EAcV,QAAQ;EAkDR;EAIA,QAAQ,iBAAiB;EAoBzB,kBAAkB;EAgLlB,UAAU,qBAAqB"}
1
+ {"version":3,"file":"decoderBuffer-BQIG2-IB.d.cts","names":[],"sources":["../../src/decoder/decoderBuffer.ts"],"mappings":";;;;;cAQM,cAAc,gBAAgB,aAAa,oBACvC,qBAAqB,oBAClB,yBAAyB;EAEpC,QAAQ;EACR;EACA,MAAM;EACN,aAAW;EAEX,YAAY,UAAU,qBAAqB;EAU3C,UAAU,QAAQ;EAYlB,UAAU;EAcV,QAAQ;EAkDR;EAIA,QAAQ,iBAAiB;EAoBzB,kBAAkB;EAgLlB,UAAU,qBAAqB"}
@@ -408,58 +408,58 @@ var Encoder = class Encoder extends require_bufferWithExtensions {
408
408
  this.writeBin(sharedBuffer.subarray(0, byteLength));
409
409
  return this;
410
410
  }
411
- writeNumber(value) {
412
- if (Number.isInteger(value)) {
413
- if (value < 0) {
414
- if (value > -33) {
415
- this.ensureCapacity(1);
416
- return this.writeNegativeFixInt(value);
417
- } else if (value > -129) {
418
- this.ensureCapacity(2);
419
- this.writeInt8Symbol();
420
- return this.writeInt8(value);
421
- } else if (value > -32769) {
422
- this.ensureCapacity(3);
423
- this.writeInt16Symbol();
424
- return this.writeInt16(value);
425
- } else if (value > -2147483649) {
426
- this.ensureCapacity(5);
427
- this.writeInt32Symbol();
428
- return this.writeInt32(value);
429
- } else if (value >= require_constants.INT64_MIN) {
430
- this.ensureCapacity(9);
431
- this.writeInt64Symbol();
432
- return this.writeInt64(value);
433
- }
434
- throw new Error(`Integer too small to encode: ${value}. Consider using BigIntExtension.`);
435
- } else {
436
- if (require_utils_fitIn7Bits(value)) {
437
- this.ensureCapacity(1);
438
- return this.writePositiveFixInt(value);
439
- }
440
- if (require_utils_fitIn8Bits(value)) {
441
- this.ensureCapacity(2);
442
- this.writeUint8Symbol();
443
- return this.writeUint8(value);
444
- }
445
- if (require_utils_fitIn16Bits(value)) {
446
- this.ensureCapacity(3);
447
- this.writeUint16Symbol();
448
- return this.writeUint16(value);
449
- }
450
- if (require_utils_fitIn32Bits(value)) {
451
- this.ensureCapacity(5);
452
- this.writeUint32Symbol();
453
- return this.writeUint32(value);
454
- }
455
- if (value <= require_constants.UINT64_MAX) {
456
- this.ensureCapacity(9);
457
- this.writeUint64Symbol();
458
- return this.writeUint64(value);
459
- }
460
- throw new Error(`Integer too large to encode: ${value}. Consider using BigIntExtension.`);
461
- }
462
- } else if (this.forceFloat32) {
411
+ writeSignedInteger(value) {
412
+ if (value > -33) {
413
+ this.ensureCapacity(1);
414
+ return this.writeNegativeFixInt(value);
415
+ } else if (value > -129) {
416
+ this.ensureCapacity(2);
417
+ this.writeInt8Symbol();
418
+ return this.writeInt8(value);
419
+ } else if (value > -32769) {
420
+ this.ensureCapacity(3);
421
+ this.writeInt16Symbol();
422
+ return this.writeInt16(value);
423
+ } else if (value > -2147483649) {
424
+ this.ensureCapacity(5);
425
+ this.writeInt32Symbol();
426
+ return this.writeInt32(value);
427
+ } else if (value >= require_constants.INT64_MIN) {
428
+ this.ensureCapacity(9);
429
+ this.writeInt64Symbol();
430
+ return this.writeInt64(value);
431
+ }
432
+ throw new Error(`Integer too small to encode: ${value}. Consider using BigIntExtension.`);
433
+ }
434
+ writeUnsignedInteger(value) {
435
+ if (require_utils_fitIn7Bits(value)) {
436
+ this.ensureCapacity(1);
437
+ return this.writePositiveFixInt(value);
438
+ }
439
+ if (require_utils_fitIn8Bits(value)) {
440
+ this.ensureCapacity(2);
441
+ this.writeUint8Symbol();
442
+ return this.writeUint8(value);
443
+ }
444
+ if (require_utils_fitIn16Bits(value)) {
445
+ this.ensureCapacity(3);
446
+ this.writeUint16Symbol();
447
+ return this.writeUint16(value);
448
+ }
449
+ if (require_utils_fitIn32Bits(value)) {
450
+ this.ensureCapacity(5);
451
+ this.writeUint32Symbol();
452
+ return this.writeUint32(value);
453
+ }
454
+ if (value <= require_constants.UINT64_MAX) {
455
+ this.ensureCapacity(9);
456
+ this.writeUint64Symbol();
457
+ return this.writeUint64(value);
458
+ }
459
+ throw new Error(`Integer too large to encode: ${value}. Consider using BigIntExtension.`);
460
+ }
461
+ writeFloat(value) {
462
+ if (this.forceFloat32) {
463
463
  this.ensureCapacity(5);
464
464
  this.writeFloat32Symbol();
465
465
  return this.writeFloat32(value);
@@ -468,6 +468,13 @@ var Encoder = class Encoder extends require_bufferWithExtensions {
468
468
  this.writeFloat64Symbol();
469
469
  return this.writeFloat64(value);
470
470
  }
471
+ writeNumber(value) {
472
+ if (Number.isInteger(value)) {
473
+ if (value < 0) return this.writeSignedInteger(value);
474
+ return this.writeUnsignedInteger(value);
475
+ }
476
+ return this.writeFloat(value);
477
+ }
471
478
  openMap(keysLength) {
472
479
  const requiredSize = keysLength * 4;
473
480
  if (keysLength < 16) {
@@ -1,2 +1,2 @@
1
- import { t as Encoder } from "../encoder-BliskZYy.cjs";
1
+ import { t as Encoder } from "../encoder-C9JlmRrE.cjs";
2
2
  export = Encoder;
@@ -1,7 +1,7 @@
1
- import { a as MessagePackEncoder, i as OmitByPattern, n as EncoderOptions, r as ExtensionEncoder } from "../messagePackExtension-xBTe48A-.cjs";
1
+ import { a as MessagePackEncoder, i as OmitByPattern, n as EncoderOptions, r as ExtensionEncoder } from "../messagePackExtension-DS5fpQDE.cjs";
2
2
  import { t as MessagePackTextEncoder } from "../messagePackTextEncoder-D7iCft_t.cjs";
3
3
  import { t as encode } from "../encode-4SxHVw0M.cjs";
4
- import { t as Encoder } from "../encoder-BliskZYy.cjs";
4
+ import { t as Encoder } from "../encoder-C9JlmRrE.cjs";
5
5
  import { t as DefaultTextEncoder } from "../defaultTextEncoder-DzdGBX6s.cjs";
6
6
  import { t as NodeTextEncoder } from "../nodeTextEncoder-DJzFDBXd.cjs";
7
7
  export { DefaultTextEncoder, Encoder, type EncoderOptions, type ExtensionEncoder, type MessagePackEncoder, type MessagePackTextEncoder, NodeTextEncoder, type OmitByPattern, encode };
@@ -1,4 +1,4 @@
1
- import { a as MessagePackEncoder } from "../../messagePackExtension-xBTe48A-.cjs";
1
+ import { a as MessagePackEncoder } from "../../messagePackExtension-DS5fpQDE.cjs";
2
2
  import { t as MessagePackTextEncoder } from "../../messagePackTextEncoder-D7iCft_t.cjs";
3
3
  import "../../index-DMnXy2Rv.cjs";
4
4
  export type { MessagePackEncoder, MessagePackTextEncoder };
@@ -1,2 +1,2 @@
1
- import { a as MessagePackEncoder } from "../../messagePackExtension-xBTe48A-.cjs";
1
+ import { a as MessagePackEncoder } from "../../messagePackExtension-DS5fpQDE.cjs";
2
2
  export = MessagePackEncoder;
@@ -1,2 +1,2 @@
1
- import { i as OmitByPattern, n as EncoderOptions, r as ExtensionEncoder } from "../messagePackExtension-xBTe48A-.cjs";
1
+ import { i as OmitByPattern, n as EncoderOptions, r as ExtensionEncoder } from "../messagePackExtension-DS5fpQDE.cjs";
2
2
  export { EncoderOptions, ExtensionEncoder, OmitByPattern };
@@ -1,7 +1,7 @@
1
1
  import { t as BufferFactory } from "./types-DTcs4Mkd.cjs";
2
- import { a as MessagePackEncoder, n as EncoderOptions, r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-xBTe48A-.cjs";
2
+ import { a as MessagePackEncoder, n as EncoderOptions, r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-DS5fpQDE.cjs";
3
3
  import { t as MessagePackTextEncoder } from "./messagePackTextEncoder-D7iCft_t.cjs";
4
- import { t as BufferWithExtensions } from "./bufferWithExtensions-qiA6axeV.cjs";
4
+ import { t as BufferWithExtensions } from "./bufferWithExtensions-Bn-W9WIx.cjs";
5
5
  //#region src/encoder/encoder.d.ts
6
6
  declare class Encoder<TBuffer extends Uint8Array = Uint8Array> extends BufferWithExtensions<TBuffer> implements MessagePackEncoder<TBuffer> {
7
7
  #private;
@@ -94,6 +94,9 @@ declare class Encoder<TBuffer extends Uint8Array = Uint8Array> extends BufferWit
94
94
  writeExt16Symbol(type: number, size: number): this;
95
95
  writeExt32Symbol(type: number, size: number): this;
96
96
  writeString(value: string): this;
97
+ writeSignedInteger(value: number): this;
98
+ writeUnsignedInteger(value: number): this;
99
+ writeFloat(value: number): this;
97
100
  writeNumber(value: number): this;
98
101
  openMap(keysLength: number): this;
99
102
  writeMap<TKey extends string | number, TValue>(value: Record<TKey, TValue>): this;
@@ -108,4 +111,4 @@ declare class Encoder<TBuffer extends Uint8Array = Uint8Array> extends BufferWit
108
111
  }
109
112
  //#endregion
110
113
  export { Encoder as t };
111
- //# sourceMappingURL=encoder-BliskZYy.d.cts.map
114
+ //# sourceMappingURL=encoder-C9JlmRrE.d.cts.map
@@ -1 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M"}
@@ -1,2 +1,2 @@
1
- import { t as BigIntExtension } from "../../bigInt-ALGpR4Rn.cjs";
1
+ import { t as BigIntExtension } from "../../bigInt-CrswAzNE.cjs";
2
2
  export = BigIntExtension;
@@ -1,3 +1,3 @@
1
- import { t as BigIntExtension } from "../../bigInt-ALGpR4Rn.cjs";
1
+ import { t as BigIntExtension } from "../../bigInt-CrswAzNE.cjs";
2
2
  import "../../index-5OuLsWCC.cjs";
3
3
  export = BigIntExtension;
@@ -1,4 +1,4 @@
1
- import { t as MessagePackExtension } from "../messagePackExtension-xBTe48A-.cjs";
1
+ import { t as MessagePackExtension } from "../messagePackExtension-DS5fpQDE.cjs";
2
2
  import { t as MessagePackTime } from "../types-B9KMW-kD.cjs";
3
- import { t as TimestampDateExtension } from "../timestampDate-B8IXKYcA.cjs";
3
+ import { t as TimestampDateExtension } from "../timestampDate-mzf7iMkQ.cjs";
4
4
  export { type MessagePackExtension, type MessagePackTime, TimestampDateExtension };
@@ -1,3 +1,3 @@
1
- import { t as MessagePackExtension } from "../../messagePackExtension-xBTe48A-.cjs";
1
+ import { t as MessagePackExtension } from "../../messagePackExtension-DS5fpQDE.cjs";
2
2
  import "../../index-B5vbV8Ak.cjs";
3
3
  export type { MessagePackExtension };
@@ -1,2 +1,2 @@
1
- import { t as MessagePackExtension } from "../../messagePackExtension-xBTe48A-.cjs";
1
+ import { t as MessagePackExtension } from "../../messagePackExtension-DS5fpQDE.cjs";
2
2
  export = MessagePackExtension;
@@ -1,4 +1,4 @@
1
1
  import { t as MessagePackTime } from "../../types-B9KMW-kD.cjs";
2
- import { t as TimestampDateExtension } from "../../timestampDate-B8IXKYcA.cjs";
2
+ import { t as TimestampDateExtension } from "../../timestampDate-mzf7iMkQ.cjs";
3
3
  import "../../index-CUX405iZ.cjs";
4
4
  export { type MessagePackTime, TimestampDateExtension };
@@ -1,2 +1,2 @@
1
- import { t as TimestampDateExtension } from "../../timestampDate-B8IXKYcA.cjs";
1
+ import { t as TimestampDateExtension } from "../../timestampDate-mzf7iMkQ.cjs";
2
2
  export = TimestampDateExtension;
@@ -3,19 +3,18 @@ const require_bufferWithExtensions = require("./bufferWithExtensions.cjs");
3
3
  const require_constants = require("./constants.cjs");
4
4
  const require_symbols = require("./symbols.cjs");
5
5
  const require_untypedExtension = require("./untypedExtension.cjs");
6
- const require_utils_fitIn7Bits = require("./utils/fitIn7Bits.cjs");
7
- const require_utils_fitIn8Bits = require("./utils/fitIn8Bits.cjs");
8
- const require_utils_fitIn16Bits = require("./utils/fitIn16Bits.cjs");
9
- const require_utils_fitIn32Bits = require("./utils/fitIn32Bits.cjs");
10
- const require_encoder_textEncoders_defaultTextEncoder = require("./encoder/textEncoders/defaultTextEncoder.cjs");
11
- const require_encoder_encoder = require("./encoder/encoder.cjs");
12
- const require_benchmark_decoderDataTypesFactory = require("./benchmark/decoderDataTypesFactory.cjs");
13
6
  const require_decoder_textDecoders_defaultTextDecoder = require("./decoder/textDecoders/defaultTextDecoder.cjs");
14
7
  const require_decoder_textDecoders_nodeTextDecoder = require("./decoder/textDecoders/nodeTextDecoder.cjs");
15
8
  const require_decoder_decoderBuffer = require("./decoder/decoderBuffer.cjs");
16
9
  const require_decoder_decoder = require("./decoder/decoder.cjs");
17
10
  const require_decoder_decode = require("./decoder/decode.cjs");
18
11
  require("./decoder/index.cjs");
12
+ const require_utils_fitIn7Bits = require("./utils/fitIn7Bits.cjs");
13
+ const require_utils_fitIn8Bits = require("./utils/fitIn8Bits.cjs");
14
+ const require_utils_fitIn16Bits = require("./utils/fitIn16Bits.cjs");
15
+ const require_utils_fitIn32Bits = require("./utils/fitIn32Bits.cjs");
16
+ const require_encoder_textEncoders_defaultTextEncoder = require("./encoder/textEncoders/defaultTextEncoder.cjs");
17
+ const require_encoder_encoder = require("./encoder/encoder.cjs");
19
18
  const require_encoder_textEncoders_nodeTextEncoder = require("./encoder/textEncoders/nodeTextEncoder.cjs");
20
19
  const require_encoder_encode = require("./encoder/encode.cjs");
21
20
  require("./encoder/index.cjs");
@@ -40,7 +39,6 @@ exports.UINT32_MAX = require_constants.UINT32_MAX;
40
39
  exports.UINT64_MAX = require_constants.UINT64_MAX;
41
40
  exports.UntypedExtension = require_untypedExtension;
42
41
  exports.decode = require_decoder_decode;
43
- exports.decoderDataTypesFactory = require_benchmark_decoderDataTypesFactory;
44
42
  exports.encode = require_encoder_encode;
45
43
  exports.fitIn16Bits = require_utils_fitIn16Bits;
46
44
  exports.fitIn32Bits = require_utils_fitIn32Bits;
@@ -1,26 +1,25 @@
1
- import decoderDataTypesFactory from "./benchmark/decoderDataTypesFactory.cjs";
2
1
  import { t as MessagePackTextDecoder } from "./messagePackTextDecoder-J3fr-wQn.cjs";
3
2
  import { t as MessagePackDecoderBuffer } from "./messagePackDecoderBuffer-B2rRVlMX.cjs";
4
- import { a as MessagePackEncoder, i as OmitByPattern, n as EncoderOptions, o as MessagePackBufferWithExtensions, r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-xBTe48A-.cjs";
3
+ import { a as MessagePackEncoder, i as OmitByPattern, n as EncoderOptions, o as MessagePackBufferWithExtensions, r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-DS5fpQDE.cjs";
5
4
  import { t as MessagePackTextEncoder } from "./messagePackTextEncoder-D7iCft_t.cjs";
6
- import { t as BufferWithExtensions } from "./bufferWithExtensions-qiA6axeV.cjs";
5
+ import { t as BufferWithExtensions } from "./bufferWithExtensions-Bn-W9WIx.cjs";
7
6
  import { DEFAULT_ALLOCATION_SIZE, INT32_MIN, INT64_MIN, UINT32_MAX, UINT64_MAX } from "./constants.cjs";
8
7
  import { t as decode } from "./decode-BraWmoPw.cjs";
9
8
  import { t as DefaultTextDecoder } from "./defaultTextDecoder-DY92jDSO.cjs";
10
- import { t as DecoderBuffer } from "./decoderBuffer-BFoz1PcE.cjs";
11
- import { t as Decoder } from "./decoder-BugzrbIU.cjs";
9
+ import { t as DecoderBuffer } from "./decoderBuffer-BQIG2-IB.cjs";
10
+ import { t as Decoder } from "./decoder-BElySab6.cjs";
12
11
  import { t as NodeTextDecoder } from "./nodeTextDecoder-DrNFdTVk.cjs";
13
12
  import { t as encode } from "./encode-4SxHVw0M.cjs";
14
- import { t as Encoder } from "./encoder-BliskZYy.cjs";
13
+ import { t as Encoder } from "./encoder-C9JlmRrE.cjs";
15
14
  import { t as DefaultTextEncoder } from "./defaultTextEncoder-DzdGBX6s.cjs";
16
15
  import { t as NodeTextEncoder } from "./nodeTextEncoder-DJzFDBXd.cjs";
17
- import { t as UntypedExtension } from "./untypedExtension-DPZG3pQo.cjs";
16
+ import { t as UntypedExtension } from "./untypedExtension-3ndklPO7.cjs";
18
17
  import { t as MessagePackTime } from "./types-B9KMW-kD.cjs";
19
- import { t as TimestampDateExtension } from "./timestampDate-B8IXKYcA.cjs";
18
+ import { t as TimestampDateExtension } from "./timestampDate-mzf7iMkQ.cjs";
20
19
  import Symbols from "./symbols.cjs";
21
20
  import { t as fitIn7Bits } from "./fitIn7Bits-BVHyKXCg.cjs";
22
21
  import { t as fitIn8Bits } from "./fitIn8Bits-DQnQIhdh.cjs";
23
22
  import { t as fitIn16Bits } from "./fitIn16Bits-D9lga-sP.cjs";
24
23
  import { t as fitIn32Bits } from "./fitIn32Bits-BrGIMOff.cjs";
25
24
  import { t as fitInt64Bits } from "./fitInt64Bits-CY7lVKne.cjs";
26
- export { BufferWithExtensions, DEFAULT_ALLOCATION_SIZE, Decoder, DecoderBuffer, DefaultTextDecoder, DefaultTextEncoder, Encoder, type EncoderOptions, type ExtensionEncoder, INT32_MIN, INT64_MIN, type MessagePackBufferWithExtensions, type MessagePackDecoderBuffer, type MessagePackEncoder, type MessagePackExtension, type MessagePackTextDecoder, type MessagePackTextEncoder, type MessagePackTime, NodeTextDecoder, NodeTextEncoder, type OmitByPattern, Symbols, TimestampDateExtension, UINT32_MAX, UINT64_MAX, UntypedExtension, decode, decoderDataTypesFactory, encode, fitIn16Bits, fitIn32Bits, fitIn7Bits, fitIn8Bits, fitInt64Bits };
25
+ export { BufferWithExtensions, DEFAULT_ALLOCATION_SIZE, Decoder, DecoderBuffer, DefaultTextDecoder, DefaultTextEncoder, Encoder, type EncoderOptions, type ExtensionEncoder, INT32_MIN, INT64_MIN, type MessagePackBufferWithExtensions, type MessagePackDecoderBuffer, type MessagePackEncoder, type MessagePackExtension, type MessagePackTextDecoder, type MessagePackTextEncoder, type MessagePackTime, NodeTextDecoder, NodeTextEncoder, type OmitByPattern, Symbols, TimestampDateExtension, UINT32_MAX, UINT64_MAX, UntypedExtension, decode, encode, fitIn16Bits, fitIn32Bits, fitIn7Bits, fitIn8Bits, fitInt64Bits };
@@ -1,2 +1,2 @@
1
- import { o as MessagePackBufferWithExtensions } from "../messagePackExtension-xBTe48A-.cjs";
1
+ import { o as MessagePackBufferWithExtensions } from "../messagePackExtension-DS5fpQDE.cjs";
2
2
  export type { MessagePackBufferWithExtensions };
@@ -1,2 +1,2 @@
1
- import { o as MessagePackBufferWithExtensions } from "../messagePackExtension-xBTe48A-.cjs";
1
+ import { o as MessagePackBufferWithExtensions } from "../messagePackExtension-DS5fpQDE.cjs";
2
2
  export = MessagePackBufferWithExtensions;
@@ -665,6 +665,84 @@ interface MessagePackEncoder<TBuffer extends Uint8Array = Uint8Array> extends Me
665
665
  * ```
666
666
  */
667
667
  writeString(value: string): this;
668
+ /**
669
+ * Writes a MessagePack number using signed integer point formats.
670
+ *
671
+ * ```
672
+ * negative fixint:
673
+ * +--------+
674
+ * |111YYYYY|
675
+ * +--------+
676
+ *
677
+ * int 8:
678
+ * +--------+--------+
679
+ * | 0xd0 |ZZZZZZZZ|
680
+ * +--------+--------+
681
+ *
682
+ * int 16:
683
+ * +--------+--------+--------+
684
+ * | 0xd1 |ZZZZZZZZ|ZZZZZZZZ|
685
+ * +--------+--------+--------+
686
+ *
687
+ * int 32:
688
+ * +--------+--------+--------+--------+--------+
689
+ * | 0xd2 |ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|
690
+ * +--------+--------+--------+--------+--------+
691
+ *
692
+ * int 64:
693
+ * +--------+--------+--------+--------+--------+--------+--------+--------+--------+
694
+ * | 0xd3 |ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|
695
+ * +--------+--------+--------+--------+--------+--------+--------+--------+--------+
696
+ * ```
697
+ */
698
+ writeSignedInteger(value: number): this;
699
+ /**
700
+ * Writes a MessagePack number using unsigned integer point formats.
701
+ *
702
+ * ```
703
+ * positive fixint:
704
+ * +--------+
705
+ * |0XXXXXXX|
706
+ * +--------+
707
+ *
708
+ * uint 8:
709
+ * +--------+--------+
710
+ * | 0xcc |ZZZZZZZZ|
711
+ * +--------+--------+
712
+ *
713
+ * uint 16:
714
+ * +--------+--------+--------+
715
+ * | 0xcd |ZZZZZZZZ|ZZZZZZZZ|
716
+ * +--------+--------+--------+
717
+ *
718
+ * uint 32:
719
+ * +--------+--------+--------+--------+--------+
720
+ * | 0xce |ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|
721
+ * +--------+--------+--------+--------+--------+
722
+ *
723
+ * uint 64:
724
+ * +--------+--------+--------+--------+--------+--------+--------+--------+--------+
725
+ * | 0xcf |ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|ZZZZZZZZ|
726
+ * +--------+--------+--------+--------+--------+--------+--------+--------+--------+
727
+ * ```
728
+ */
729
+ writeUnsignedInteger(value: number): this;
730
+ /**
731
+ * Writes a MessagePack number using floating point formats.
732
+ *
733
+ * ```
734
+ * float 32:
735
+ * +--------+--------+--------+--------+--------+
736
+ * | 0xca |XXXXXXXX|XXXXXXXX|XXXXXXXX|XXXXXXXX|
737
+ * +--------+--------+--------+--------+--------+
738
+ *
739
+ * float 64:
740
+ * +--------+--------+--------+--------+--------+--------+--------+--------+--------+
741
+ * | 0xcb |YYYYYYYY|YYYYYYYY|YYYYYYYY|YYYYYYYY|YYYYYYYY|YYYYYYYY|YYYYYYYY|YYYYYYYY|
742
+ * +--------+--------+--------+--------+--------+--------+--------+--------+--------+
743
+ * ```
744
+ */
745
+ writeFloat(value: number): this;
668
746
  /**
669
747
  * Writes a MessagePack number using integer or floating point formats.
670
748
  *
@@ -969,4 +1047,4 @@ interface MessagePackExtension<TValue = unknown, TBuffer extends Uint8Array = Ui
969
1047
  }
970
1048
  //#endregion
971
1049
  export { MessagePackEncoder as a, OmitByPattern as i, EncoderOptions as n, MessagePackBufferWithExtensions as o, ExtensionEncoder as r, MessagePackExtension as t };
972
- //# sourceMappingURL=messagePackExtension-xBTe48A-.d.cts.map
1050
+ //# sourceMappingURL=messagePackExtension-DS5fpQDE.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messagePackExtension-xBTe48A-.d.cts","names":[],"sources":["../../src/interfaces/messagePackBufferWithExtensions.ts","../../src/encoder/interfaces/messagePackEncoder.ts","../../src/encoder/types.ts","../../src/extensions/interfaces/messagePackExtension.ts"],"mappings":";;;;UAEyB,gCACvB,gBAAgB,aAAa;;;;;;;;EAS7B,aAAa,WAAW,8BAA8B;;;;;;;;;UCF/B,mBACvB,gBAAgB,aAAa,oBACrB,gCAAgC;;;;;;EAMxC,QAAQ;;;;;;EAOR;;;;;;;EAQA,MAAM;;;;;WAMG,aAAa;;;;;;;;;;;;;;;;EAiBtB,eAAe;;;;;;;;EASf,aAAa;;;;;;EAOb;;;;;;EAOA,SAAS;;;;;;;;;;;;;EAcT,oBAAoB;;;;;;;;;;;;EAapB,oBAAoB;;;;;;;;;;EAWpB,SAAS,OAAO;;;;;;;;;;;;EAahB,aAAa;;;;;;;;;;;;EAab,aAAa;;;;;;;;;;;EAYb,WAAW;;;;;;;;;;;EAYX,YAAY;;;;;;;;;;;EAYZ,YAAY;;;;;;;;;;;EAYZ,YAAY;;;;;;;;;;;EAYZ,UAAU;;;;;;;;;;;EAYV,W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;;;EAQV,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCZ,gBAAgB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DvB,eACE,WAAW,sBACX,QAAQ,iBAAiB;;;;UCz7BZ,eACf,gBAAgB,aAAa,oBACrB,cAAc;;;;;;;;;EAStB;;;;;;EAMA,cAAc,uBAAuB;;;;;;;;EAQrC;;;;;;;;;;;;;;EAcA;;KAGU,cAAc,SAAS,6BAChC,cAAc,WAAW,aAAa,kBAAkB,OAAO,QAAQ;KAG9D,iBAAiB,gBAAgB,aAAa,cACxD,cACE,mBAAmB;;;UCjDE,qBACvB,kBACA,gBAAgB,aAAa;;;;;;WAOpB;;;;;;;;;EAUT,OAAO,wBAAwB,SAAS,iBAAiB;;;;;;;;;;;;EAazD,OAAO,eAAe,0BAA0B,eAAe"}
1
+ {"version":3,"file":"messagePackExtension-DS5fpQDE.d.cts","names":[],"sources":["../../src/interfaces/messagePackBufferWithExtensions.ts","../../src/encoder/interfaces/messagePackEncoder.ts","../../src/encoder/types.ts","../../src/extensions/interfaces/messagePackExtension.ts"],"mappings":";;;;UAEyB,gCACvB,gBAAgB,aAAa;;;;;;;;EAS7B,aAAa,WAAW,8BAA8B;;;;;;;;;UCF/B,mBACvB,gBAAgB,aAAa,oBACrB,gCAAgC;;;;;;EAMxC,QAAQ;;;;;;EAOR;;;;;;;EAQA,MAAM;;;;;WAMG,aAAa;;;;;;;;;;;;;;;;EAiBtB,eAAe;;;;;;;;EASf,aAAa;;;;;;EAOb;;;;;;EAOA,SAAS;;;;;;;;;;;;;EAcT,oBAAoB;;;;;;;;;;;;EAapB,oBAAoB;;;;;;;;;;EAWpB,SAAS,OAAO;;;;;;;;;;;;EAahB,aAAa;;;;;;;;;;;;EAab,aAAa;;;;;;;;;;;EAYb,WAAW;;;;;;;;;;;EAYX,YAAY;;;;;;;;;;;EAYZ,YAAY;;;;;;;;;;;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;;;;;;;;;;;;;;;;EAmEX,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BZ,SAAS,8BAA8B,QACrC,OAAO,OAAO,MAAM;;;;;;EAQtB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BR,WAAW;;;;;;EAOX,UAAU;;;;;;;EAQV,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCZ,gBAAgB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DvB,eACE,WAAW,sBACX,QAAQ,iBAAiB;;;;UC1gCZ,eACf,gBAAgB,aAAa,oBACrB,cAAc;;;;;;;;;EAStB;;;;;;EAMA,cAAc,uBAAuB;;;;;;;;EAQrC;;;;;;;;;;;;;;EAcA;;KAGU,cAAc,SAAS,6BAChC,cAAc,WAAW,aAAa,kBAAkB,OAAO,QAAQ;KAG9D,iBAAiB,gBAAgB,aAAa,cACxD,cACE,mBAAmB;;;UCjDE,qBACvB,kBACA,gBAAgB,aAAa;;;;;;WAOpB;;;;;;;;;EAUT,OAAO,wBAAwB,SAAS,iBAAiB;;;;;;;;;;;;EAazD,OAAO,eAAe,0BAA0B,eAAe"}
@@ -1,5 +1,5 @@
1
1
  import { t as MessagePackDecoderBuffer } from "./messagePackDecoderBuffer-B2rRVlMX.cjs";
2
- import { r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-xBTe48A-.cjs";
2
+ import { r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-DS5fpQDE.cjs";
3
3
  import { t as MessagePackTime } from "./types-B9KMW-kD.cjs";
4
4
  //#region src/extensions/timestampDate/timestampDate.d.ts
5
5
  /**
@@ -30,4 +30,4 @@ declare class TimestampDateExtension<TBuffer extends Uint8Array = Uint8Array> im
30
30
  }
31
31
  //#endregion
32
32
  export { TimestampDateExtension as t };
33
- //# sourceMappingURL=timestampDate-B8IXKYcA.d.cts.map
33
+ //# sourceMappingURL=timestampDate-mzf7iMkQ.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"timestampDate-B8IXKYcA.d.cts","names":[],"sources":["../../src/extensions/timestampDate/timestampDate.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;cA4BM,uBACJ,gBAAgB,aAAa,uBAClB,qBAAqB,MAAM;WAC7B;EAET,uBAAuB,MAAM,OAAO;EAcpC,OAAO,wBAAwB,SAAS,iBAAiB;EAsBzD,OAAO,eAAe,yBAAyB,UAAU,eAAe"}
1
+ {"version":3,"file":"timestampDate-mzf7iMkQ.d.cts","names":[],"sources":["../../src/extensions/timestampDate/timestampDate.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;cA4BM,uBACJ,gBAAgB,aAAa,uBAClB,qBAAqB,MAAM;WAC7B;EAET,uBAAuB,MAAM,OAAO;EAcpC,OAAO,wBAAwB,SAAS,iBAAiB;EAsBzD,OAAO,eAAe,yBAAyB,UAAU,eAAe"}
@@ -1,5 +1,5 @@
1
1
  import { t as MessagePackDecoderBuffer } from "./messagePackDecoderBuffer-B2rRVlMX.cjs";
2
- import { r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-xBTe48A-.cjs";
2
+ import { r as ExtensionEncoder, t as MessagePackExtension } from "./messagePackExtension-DS5fpQDE.cjs";
3
3
  //#region src/untypedExtension.d.ts
4
4
  declare abstract class UntypedExtension<TValue = unknown, TBuffer extends Uint8Array = Uint8Array> implements MessagePackExtension<TValue, TBuffer> {
5
5
  readonly type: number;
@@ -13,4 +13,4 @@ declare abstract class UntypedExtension<TValue = unknown, TBuffer extends Uint8A
13
13
  }
14
14
  //#endregion
15
15
  export { UntypedExtension as t };
16
- //# sourceMappingURL=untypedExtension-DPZG3pQo.d.cts.map
16
+ //# sourceMappingURL=untypedExtension-3ndklPO7.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"untypedExtension-DPZG3pQo.d.cts","names":[],"sources":["../../src/untypedExtension.ts"],"mappings":";;;uBAIe,iBACb,kBACA,gBAAgB,aAAa,uBAClB,qBAAqB,QAAQ;WAC/B;;;;;EAMT,YAAY;WAIH,OACP,wBACA,SAAS,iBAAiB;WAGnB,OACP,eAAe,0BACf,eACC"}
1
+ {"version":3,"file":"untypedExtension-3ndklPO7.d.cts","names":[],"sources":["../../src/untypedExtension.ts"],"mappings":";;;uBAIe,iBACb,kBACA,gBAAgB,aAAa,uBAClB,qBAAqB,QAAQ;WAC/B;;;;;EAMT,YAAY;WAIH,OACP,wBACA,SAAS,iBAAiB;WAGnB,OACP,eAAe,0BACf,eACC"}
@@ -1,2 +1,2 @@
1
- import { t as UntypedExtension } from "./untypedExtension-DPZG3pQo.cjs";
1
+ import { t as UntypedExtension } from "./untypedExtension-3ndklPO7.cjs";
2
2
  export = UntypedExtension;
@@ -1,6 +1,6 @@
1
1
  import { t as MessagePackDecoderBuffer } from "./messagePackDecoderBuffer-Cqvg0zW7.mjs";
2
- import { r as ExtensionEncoder } from "./messagePackExtension-Ceq7jzFB.mjs";
3
- import { t as UntypedExtension } from "./untypedExtension-DKgyS2ak.mjs";
2
+ import { r as ExtensionEncoder } from "./messagePackExtension-BSIrLaDi.mjs";
3
+ import { t as UntypedExtension } from "./untypedExtension-DU4TuH0s.mjs";
4
4
  //#region src/extensions/bigint/bigInt.d.ts
5
5
  /**
6
6
  * This class encodes and decodes JavaScript BigInt values that are outside the
@@ -32,4 +32,4 @@ declare class BigIntExtension<TBuffer extends Uint8Array = Uint8Array> extends U
32
32
  }
33
33
  //#endregion
34
34
  export { BigIntExtension as t };
35
- //# sourceMappingURL=bigInt-lSrNuXkn.d.mts.map
35
+ //# sourceMappingURL=bigInt-BqY-My-L.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bigInt-lSrNuXkn.d.mts","names":[],"sources":["../../src/extensions/bigint/bigInt.ts"],"mappings":";;;;;;;;;;;;cAcM,gBACJ,gBAAgB,aAAa,oBACrB,yBAAyB;;;;;;;;;;;;EAYjC,OAAO,wBAAwB,SAAS,iBAAiB;;;;;;EA4BzD,OAAO,QAAQ,0BAA0B"}
1
+ {"version":3,"file":"bigInt-BqY-My-L.d.mts","names":[],"sources":["../../src/extensions/bigint/bigInt.ts"],"mappings":";;;;;;;;;;;;cAcM,gBACJ,gBAAgB,aAAa,oBACrB,yBAAyB;;;;;;;;;;;;EAYjC,OAAO,wBAAwB,SAAS,iBAAiB;;;;;;EA4BzD,OAAO,QAAQ,0BAA0B"}