@nosana/node 1.1.65-rc → 1.1.66-rc

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.65-rc",
3
+ "version": "1.1.66-rc",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"
@@ -17,7 +17,7 @@ export async function verifyJobOwnerSignatureMiddleware(req, res, next) {
17
17
  key: 'authorization',
18
18
  expiry: job.timeout,
19
19
  publicKey: new PublicKey(job.project),
20
- // expected_message: jobId, Re-add once deploy UI is updated
20
+ expected_message: jobId
21
21
  })) {
22
22
  return res.status(401).send('Unauthorized Request');
23
23
  }
@@ -16,7 +16,7 @@ export async function verifyWSJobOwnerSignatureMiddleware(ws, headers, body, nex
16
16
  try {
17
17
  if (sdk.authorization.validate(headers, {
18
18
  publicKey: new PublicKey(job.project),
19
- // expected_message: jobId, Re-add once deploy UI is updated
19
+ expected_message: jobId
20
20
  })) {
21
21
  await nextFunction(ws, headers, body);
22
22
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.65-rc",
3
+ "version": "1.1.66-rc",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@nosana/node",
9
- "version": "1.1.65-rc",
9
+ "version": "1.1.66-rc",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@coral-xyz/anchor": "^0.28.1-beta.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.65-rc",
3
+ "version": "1.1.66-rc",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"