fix(sdk): restore native ESM imports and action exports

This commit is contained in:
DrSmoothl committed 2026-10-23 13:04:33 +08:00
1 parent f8cb15c27b
commit b997de44a2
33 files changed
+482 -81

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { SnowLumaAbortError } from '../errors';
import { SnowLumaAbortError } from '../errors.js';
export interface RequestAbortState {
signal: AbortSignal;
+1 -1
View File
@@ -1,4 +1,4 @@
import type { ApiResponse, JsonObject, JsonValue } from '../types/index';
import type { ApiResponse, JsonObject, JsonValue } from '../types/index.js';
export function isJsonObject(value: unknown): value is JsonObject {
return typeof value === 'object' && value !== null && !Array.isArray(value);