Skip to content

Commit 3a5aa2e

Browse files
committed
release: bump version to 0.0.3
1 parent b5030a7 commit 3a5aa2e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ably-labs/models",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

src/stream/Stream.integration.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Stream from './Stream.js';
66
import { defaultSyncOptions, defaultEventBufferOptions } from '../Options.js';
77
import type { StreamOptions } from '../types/stream.js';
88
import { createAblyApp } from '../utilities/test/createAblyApp.js';
9+
import { VERSION } from '../version.js';
910

1011
interface StreamTestContext extends StreamOptions {
1112
stream: Stream;
@@ -51,7 +52,7 @@ describe('Stream integration', () => {
5152
it<StreamTestContext>('sets agent options when state is not attached', async ({ channel, stream }) => {
5253
await stream.replay('0');
5354
//@ts-ignore - `agent` is filtered out in `channel.params`, so that's the only way to check this
54-
expect(channel.channelOptions.params).toEqual({ agent: 'models/0.0.2' }); // initial call from test
55+
expect(channel.channelOptions.params).toEqual({ agent: `models/${VERSION}` }); // initial call from test
5556
});
5657

5758
it<StreamTestContext>('does not sets agent options when state is attached', async ({ channel }) => {

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Manually update when bumping version
2-
const VERSION = '0.0.2';
2+
const VERSION = '0.0.3';
33
export { VERSION };

0 commit comments

Comments
 (0)