Skip to content

Commit

Permalink
Merge pull request #735 from nats-io/clamp-jwt
Browse files Browse the repository at this point in the history
[TEST] clamp JWT lib used by tests
  • Loading branch information
aricart authored Jan 7, 2025
2 parents 7ba5c6e + 0f0de69 commit 052a20e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jetstream/tests/jsm_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import {
encodeAccount,
encodeOperator,
encodeUser,
} from "https://raw.githubusercontent.com/nats-io/jwt.js/main/src/jwt.ts";
} from "https://raw.githubusercontent.com/nats-io/jwt.js/v0.0.9/src/jwt.ts";
import { JetStreamManagerImpl } from "../jsm.ts";
import { Feature } from "../../nats-base-client/semver.ts";
import { convertStreamSourceDomain } from "../jsmstream_api.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/auth_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import {
encodeAccount,
encodeOperator,
encodeUser,
} from "https://raw.githubusercontent.com/nats-io/jwt.js/main/src/jwt.ts";
} from "https://raw.githubusercontent.com/nats-io/jwt.js/v0.0.9/src/jwt.ts";

import { DEFAULT_MAX_RECONNECT_ATTEMPTS } from "../nats-base-client/options.ts";

Expand Down
2 changes: 1 addition & 1 deletion tests/authenticator_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
encodeOperator,
encodeUser,
fmtCreds,
} from "https://raw.githubusercontent.com/nats-io/jwt.js/main/src/jwt.ts";
} from "https://raw.githubusercontent.com/nats-io/jwt.js/v0.0.9/src/jwt.ts";
import { assertBetween } from "./helpers/mod.ts";
import { deadline, delay } from "../nats-base-client/util.ts";
import { NatsConnectionImpl } from "../nats-base-client/nats.ts";
Expand Down

0 comments on commit 052a20e

Please sign in to comment.