@atproto/common 0.3.4-next.0 → 0.3.4
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/CHANGELOG.md +3 -5
- package/babel.config.js +1 -0
- package/build.js +14 -0
- package/dist/buffers.d.ts +0 -1
- package/dist/dates.d.ts +0 -1
- package/dist/env.d.ts +0 -1
- package/dist/fs.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +23071 -25
- package/dist/index.js.map +7 -1
- package/dist/ipld-multi.d.ts +0 -1
- package/dist/ipld.d.ts +0 -1
- package/dist/logger.d.ts +0 -1
- package/dist/streams.d.ts +1 -2
- package/jest.config.js +3 -3
- package/package.json +7 -10
- package/src/streams.ts +2 -3
- package/tsconfig.build.json +2 -6
- package/tsconfig.json +8 -5
- package/dist/buffers.d.ts.map +0 -1
- package/dist/buffers.js +0 -12
- package/dist/buffers.js.map +0 -1
- package/dist/dates.d.ts.map +0 -1
- package/dist/dates.js +0 -20
- package/dist/dates.js.map +0 -1
- package/dist/env.d.ts.map +0 -1
- package/dist/env.js +0 -33
- package/dist/env.js.map +0 -1
- package/dist/fs.d.ts.map +0 -1
- package/dist/fs.js +0 -47
- package/dist/fs.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/ipld-multi.d.ts.map +0 -1
- package/dist/ipld-multi.js +0 -53
- package/dist/ipld-multi.js.map +0 -1
- package/dist/ipld.d.ts.map +0 -1
- package/dist/ipld.js +0 -146
- package/dist/ipld.js.map +0 -1
- package/dist/logger.d.ts.map +0 -1
- package/dist/logger.js +0 -32
- package/dist/logger.js.map +0 -1
- package/dist/streams.d.ts.map +0 -1
- package/dist/streams.js +0 -81
- package/dist/streams.js.map +0 -1
- package/tsconfig.tests.json +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
# @atproto/common
|
|
2
2
|
|
|
3
|
-
## 0.3.4
|
|
3
|
+
## 0.3.4
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
- Updated dependencies []:
|
|
10
|
-
- @atproto/common-web@0.2.4-next.0
|
|
7
|
+
- Updated dependencies [[`4eaadc0ac`](https://github.com/bluesky-social/atproto/commit/4eaadc0acb6b73b9745dd7a2b929d02e58083ab0)]:
|
|
8
|
+
- @atproto/common-web@0.2.4
|
|
11
9
|
|
|
12
10
|
## 0.3.3
|
|
13
11
|
|
package/babel.config.js
ADDED
|
@@ -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
|
+
})
|
package/dist/buffers.d.ts
CHANGED
package/dist/dates.d.ts
CHANGED
package/dist/env.d.ts
CHANGED
|
@@ -2,4 +2,3 @@ export declare const envInt: (name: string) => number | undefined;
|
|
|
2
2
|
export declare const envStr: (name: string) => string | undefined;
|
|
3
3
|
export declare const envBool: (name: string) => boolean | undefined;
|
|
4
4
|
export declare const envList: (name: string) => string[];
|
|
5
|
-
//# sourceMappingURL=env.d.ts.map
|
package/dist/fs.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const fileExists: (location: string) => Promise<boolean>;
|
|
2
2
|
export declare const readIfExists: (filepath: string) => Promise<Uint8Array | undefined>;
|
|
3
3
|
export declare const rmIfExists: (filepath: string, recursive?: boolean) => Promise<void>;
|
|
4
|
-
//# sourceMappingURL=fs.d.ts.map
|
package/dist/index.d.ts
CHANGED