Skip to content

Commit

Permalink
release: bump version to 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mschristensen committed May 9, 2024
1 parent b5030a7 commit 3a5aa2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ably-labs/models",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/stream/Stream.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Stream from './Stream.js';
import { defaultSyncOptions, defaultEventBufferOptions } from '../Options.js';
import type { StreamOptions } from '../types/stream.js';
import { createAblyApp } from '../utilities/test/createAblyApp.js';
import { VERSION } from '../version.js';

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

it<StreamTestContext>('does not sets agent options when state is attached', async ({ channel }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Manually update when bumping version
const VERSION = '0.0.2';
const VERSION = '0.0.3';
export { VERSION };

0 comments on commit 3a5aa2e

Please sign in to comment.