npm package diff
Package: @forge/events
Versions: 0.8.38-experimental-10722bc - 0.9.2-next.1
File: package/src/queries.ts
Index: package/src/queries.ts
===================================================================
--- package/src/queries.ts
+++ package/src/queries.ts
@@ -1,9 +1,9 @@
import { APIRequest, APIResponse, FetchMethod } from './types';
-export const PUSH_PATH = '/webhook/queue/publish/{cloudId}/{environmentId}/{appId}/{appVersion}';
-export const GET_STATS_PATH = '/webhook/queue/stats/{cloudId}/{environmentId}/{appId}/{appVersion}';
-export const CANCEL_JOB_PATH = '/webhook/queue/cancel/{cloudId}/{environmentId}/{appId}/{appVersion}';
+export const PUSH_PATH = '/webhook/queue/publish/{contextAri}/{environmentId}/{appId}/{appVersion}';
+export const GET_STATS_PATH = '/webhook/queue/stats/{contextAri}/{environmentId}/{appId}/{appVersion}';
+export const CANCEL_JOB_PATH = '/webhook/queue/cancel/{contextAri}/{environmentId}/{appId}/{appVersion}';
export const post = async (endpoint: string, body: APIRequest, apiClient: FetchMethod): Promise<APIResponse> => {
const request = {
method: 'POST',