@antglobal/voyager-campaign-sdk 0.0.1788950302-dev.1 → 1.0.0

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.
@@ -12,13 +12,10 @@ export interface RpcPayload {
12
12
  gateway?: string;
13
13
  /** PRE 联调环境标识 */
14
14
  workspaceId?: string;
15
- /** 外部传入的环境标识(dev/test/pre/prod),用于 mp 匹配联调网关 */
16
- env?: string;
17
15
  }
18
16
  export interface RequestInput<TParams extends Record<string, unknown> = Record<string, unknown>> {
19
17
  serviceCode: string;
20
18
  params: TParams;
21
- env?: string;
22
19
  }
23
20
  export interface StoragePort {
24
21
  read(key: string): Promise<unknown>;
@@ -1,6 +1,6 @@
1
1
  import type { PlatformAdapter } from '../adapter/types';
2
2
  import type { VoyagerEnvInfo } from '../types';
3
3
  import { createEnvInfoLoader } from './envInfo';
4
- export type RawRequestFn = <TResponse>(serviceCode: string, params: Record<string, unknown>, env?: string) => Promise<TResponse>;
4
+ export type RawRequestFn = <TResponse>(serviceCode: string, params: Record<string, unknown>) => Promise<TResponse>;
5
5
  export declare function createRawRequest(adapter: PlatformAdapter, getEnvInfo: () => Promise<VoyagerEnvInfo>): RawRequestFn;
6
6
  export { createEnvInfoLoader };