@atproto/repo 0.3.9-next.0 → 0.3.9

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 (109) hide show
  1. package/CHANGELOG.md +8 -8
  2. package/babel.config.js +1 -0
  3. package/build.js +14 -0
  4. package/dist/block-map.d.ts +0 -1
  5. package/dist/cid-set.d.ts +0 -1
  6. package/dist/data-diff.d.ts +0 -1
  7. package/dist/error.d.ts +0 -1
  8. package/dist/index.d.ts +0 -1
  9. package/dist/index.js +27225 -26
  10. package/dist/index.js.map +7 -1
  11. package/dist/logger.d.ts +0 -1
  12. package/dist/mst/diff.d.ts +0 -1
  13. package/dist/mst/index.d.ts +0 -1
  14. package/dist/mst/mst.d.ts +5 -6
  15. package/dist/mst/util.d.ts +0 -1
  16. package/dist/mst/walker.d.ts +0 -1
  17. package/dist/parse.d.ts +0 -1
  18. package/dist/readable-repo.d.ts +0 -1
  19. package/dist/repo.d.ts +0 -1
  20. package/dist/storage/index.d.ts +0 -1
  21. package/dist/storage/memory-blockstore.d.ts +0 -1
  22. package/dist/storage/readable-blockstore.d.ts +0 -1
  23. package/dist/storage/sync-storage.d.ts +0 -1
  24. package/dist/storage/types.d.ts +0 -1
  25. package/dist/sync/consumer.d.ts +0 -1
  26. package/dist/sync/index.d.ts +0 -1
  27. package/dist/sync/provider.d.ts +0 -1
  28. package/dist/types.d.ts +19 -22
  29. package/dist/util.d.ts +1 -2
  30. package/jest.bench.config.js +8 -0
  31. package/jest.config.js +3 -3
  32. package/package.json +14 -11
  33. package/src/mst/mst.ts +1 -1
  34. package/src/types.ts +2 -4
  35. package/src/util.ts +1 -1
  36. package/tests/_util.ts +0 -4
  37. package/tsconfig.build.json +2 -6
  38. package/tsconfig.json +11 -3
  39. package/dist/block-map.d.ts.map +0 -1
  40. package/dist/block-map.js +0 -119
  41. package/dist/block-map.js.map +0 -1
  42. package/dist/cid-set.d.ts.map +0 -1
  43. package/dist/cid-set.js +0 -48
  44. package/dist/cid-set.js.map +0 -1
  45. package/dist/data-diff.d.ts.map +0 -1
  46. package/dist/data-diff.js +0 -134
  47. package/dist/data-diff.js.map +0 -1
  48. package/dist/error.d.ts.map +0 -1
  49. package/dist/error.js +0 -76
  50. package/dist/error.js.map +0 -1
  51. package/dist/index.d.ts.map +0 -1
  52. package/dist/logger.d.ts.map +0 -1
  53. package/dist/logger.js +0 -7
  54. package/dist/logger.js.map +0 -1
  55. package/dist/mst/diff.d.ts.map +0 -1
  56. package/dist/mst/diff.js +0 -120
  57. package/dist/mst/diff.js.map +0 -1
  58. package/dist/mst/index.d.ts.map +0 -1
  59. package/dist/mst/index.js +0 -34
  60. package/dist/mst/index.js.map +0 -1
  61. package/dist/mst/mst.d.ts.map +0 -1
  62. package/dist/mst/mst.js +0 -770
  63. package/dist/mst/mst.js.map +0 -1
  64. package/dist/mst/util.d.ts.map +0 -1
  65. package/dist/mst/util.js +0 -167
  66. package/dist/mst/util.js.map +0 -1
  67. package/dist/mst/walker.d.ts.map +0 -1
  68. package/dist/mst/walker.js +0 -123
  69. package/dist/mst/walker.js.map +0 -1
  70. package/dist/parse.d.ts.map +0 -1
  71. package/dist/parse.js +0 -35
  72. package/dist/parse.js.map +0 -1
  73. package/dist/readable-repo.d.ts.map +0 -1
  74. package/dist/readable-repo.js +0 -117
  75. package/dist/readable-repo.js.map +0 -1
  76. package/dist/repo.d.ts.map +0 -1
  77. package/dist/repo.js +0 -190
  78. package/dist/repo.js.map +0 -1
  79. package/dist/storage/index.d.ts.map +0 -1
  80. package/dist/storage/index.js +0 -21
  81. package/dist/storage/index.js.map +0 -1
  82. package/dist/storage/memory-blockstore.d.ts.map +0 -1
  83. package/dist/storage/memory-blockstore.js +0 -80
  84. package/dist/storage/memory-blockstore.js.map +0 -1
  85. package/dist/storage/readable-blockstore.d.ts.map +0 -1
  86. package/dist/storage/readable-blockstore.js +0 -66
  87. package/dist/storage/readable-blockstore.js.map +0 -1
  88. package/dist/storage/sync-storage.d.ts.map +0 -1
  89. package/dist/storage/sync-storage.js +0 -46
  90. package/dist/storage/sync-storage.js.map +0 -1
  91. package/dist/storage/types.d.ts.map +0 -1
  92. package/dist/storage/types.js +0 -7
  93. package/dist/storage/types.js.map +0 -1
  94. package/dist/sync/consumer.d.ts.map +0 -1
  95. package/dist/sync/consumer.js +0 -178
  96. package/dist/sync/consumer.js.map +0 -1
  97. package/dist/sync/index.d.ts.map +0 -1
  98. package/dist/sync/index.js +0 -19
  99. package/dist/sync/index.js.map +0 -1
  100. package/dist/sync/provider.d.ts.map +0 -1
  101. package/dist/sync/provider.js +0 -67
  102. package/dist/sync/provider.js.map +0 -1
  103. package/dist/types.d.ts.map +0 -1
  104. package/dist/types.js +0 -62
  105. package/dist/types.js.map +0 -1
  106. package/dist/util.d.ts.map +0 -1
  107. package/dist/util.js +0 -219
  108. package/dist/util.js.map +0 -1
  109. package/tsconfig.tests.json +0 -7
package/CHANGELOG.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # @atproto/repo
2
2
 
3
- ## 0.3.9-next.0
3
+ ## 0.3.9
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Overhaul of package builds, no longer bundling deps.
8
-
9
- - Updated dependencies []:
10
- - @atproto/common-web@0.2.4-next.0
11
- - @atproto/lexicon@0.3.3-next.0
12
- - @atproto/common@0.3.4-next.0
13
- - @atproto/crypto@0.3.1-next.0
7
+ - Updated dependencies [[`4eaadc0ac`](https://github.com/bluesky-social/atproto/commit/4eaadc0acb6b73b9745dd7a2b929d02e58083ab0)]:
8
+ - @atproto/common-web@0.2.4
9
+ - @atproto/identity@0.3.3
10
+ - @atproto/common@0.3.4
11
+ - @atproto/lexicon@0.3.3
12
+ - @atproto/syntax@0.2.1
13
+ - @atproto/crypto@0.3.0
14
14
 
15
15
  ## 0.3.8
16
16
 
@@ -0,0 +1 @@
1
+ module.exports = require('../../babel.config.js')
package/build.js ADDED
@@ -0,0 +1,14 @@
1
+ const { nodeExternalsPlugin } = require('esbuild-node-externals')
2
+
3
+ const buildShallow =
4
+ process.argv.includes('--shallow') || process.env.ATP_BUILD_SHALLOW === 'true'
5
+
6
+ require('esbuild').build({
7
+ logLevel: 'info',
8
+ entryPoints: ['src/index.ts'],
9
+ bundle: true,
10
+ sourcemap: true,
11
+ outdir: 'dist',
12
+ platform: 'node',
13
+ plugins: buildShallow ? [nodeExternalsPlugin()] : [],
14
+ })
@@ -25,4 +25,3 @@ type Entry = {
25
25
  bytes: Uint8Array;
26
26
  };
27
27
  export default BlockMap;
28
- //# sourceMappingURL=block-map.d.ts.map
package/dist/cid-set.d.ts CHANGED
@@ -12,4 +12,3 @@ export declare class CidSet {
12
12
  toList(): CID[];
13
13
  }
14
14
  export default CidSet;
15
- //# sourceMappingURL=cid-set.d.ts.map
@@ -36,4 +36,3 @@ export type DataDelete = {
36
36
  cid: CID;
37
37
  };
38
38
  export default DataDiff;
39
- //# sourceMappingURL=data-diff.d.ts.map
package/dist/error.d.ts CHANGED
@@ -18,4 +18,3 @@ export declare class UnexpectedObjectError extends Error {
18
18
  def: string;
19
19
  constructor(cid: CID, def: string);
20
20
  }
21
- //# sourceMappingURL=error.d.ts.map
package/dist/index.d.ts CHANGED
@@ -8,4 +8,3 @@ export * from './sync';
8
8
  export * from './types';
9
9
  export * from './data-diff';
10
10
  export * from './util';
11
- //# sourceMappingURL=index.d.ts.map