@nebula-ai/sdk 1.2.0 → 1.3.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.
Files changed (423) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/LICENSE +4 -23
  3. package/README.md +305 -128
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +205 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +205 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +505 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +501 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +2 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +2 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +13 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +13 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +43 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +13 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +40 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +37 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/qs/formats.d.mts +7 -0
  109. package/internal/qs/formats.d.mts.map +1 -0
  110. package/internal/qs/formats.d.ts +7 -0
  111. package/internal/qs/formats.d.ts.map +1 -0
  112. package/internal/qs/formats.js +13 -0
  113. package/internal/qs/formats.js.map +1 -0
  114. package/internal/qs/formats.mjs +9 -0
  115. package/internal/qs/formats.mjs.map +1 -0
  116. package/internal/qs/index.d.mts +10 -0
  117. package/internal/qs/index.d.mts.map +1 -0
  118. package/internal/qs/index.d.ts +10 -0
  119. package/internal/qs/index.d.ts.map +1 -0
  120. package/internal/qs/index.js +14 -0
  121. package/internal/qs/index.js.map +1 -0
  122. package/internal/qs/index.mjs +10 -0
  123. package/internal/qs/index.mjs.map +1 -0
  124. package/internal/qs/stringify.d.mts +3 -0
  125. package/internal/qs/stringify.d.mts.map +1 -0
  126. package/internal/qs/stringify.d.ts +3 -0
  127. package/internal/qs/stringify.d.ts.map +1 -0
  128. package/internal/qs/stringify.js +277 -0
  129. package/internal/qs/stringify.js.map +1 -0
  130. package/internal/qs/stringify.mjs +274 -0
  131. package/internal/qs/stringify.mjs.map +1 -0
  132. package/internal/qs/types.d.mts +57 -0
  133. package/internal/qs/types.d.mts.map +1 -0
  134. package/internal/qs/types.d.ts +57 -0
  135. package/internal/qs/types.d.ts.map +1 -0
  136. package/internal/qs/types.js +3 -0
  137. package/internal/qs/types.js.map +1 -0
  138. package/internal/qs/types.mjs +2 -0
  139. package/internal/qs/types.mjs.map +1 -0
  140. package/internal/qs/utils.d.mts +15 -0
  141. package/internal/qs/utils.d.mts.map +1 -0
  142. package/internal/qs/utils.d.ts +15 -0
  143. package/internal/qs/utils.d.ts.map +1 -0
  144. package/internal/qs/utils.js +230 -0
  145. package/internal/qs/utils.js.map +1 -0
  146. package/internal/qs/utils.mjs +217 -0
  147. package/internal/qs/utils.mjs.map +1 -0
  148. package/internal/request-options.d.mts +79 -0
  149. package/internal/request-options.d.mts.map +1 -0
  150. package/internal/request-options.d.ts +79 -0
  151. package/internal/request-options.d.ts.map +1 -0
  152. package/internal/request-options.js +14 -0
  153. package/internal/request-options.js.map +1 -0
  154. package/internal/request-options.mjs +10 -0
  155. package/internal/request-options.mjs.map +1 -0
  156. package/internal/shim-types.d.mts +17 -0
  157. package/internal/shim-types.d.mts.map +1 -0
  158. package/internal/shim-types.d.ts +17 -0
  159. package/internal/shim-types.d.ts.map +1 -0
  160. package/internal/shim-types.js +4 -0
  161. package/internal/shim-types.js.map +1 -0
  162. package/internal/shim-types.mjs +3 -0
  163. package/internal/shim-types.mjs.map +1 -0
  164. package/internal/shims.d.mts +20 -0
  165. package/internal/shims.d.mts.map +1 -0
  166. package/internal/shims.d.ts +20 -0
  167. package/internal/shims.d.ts.map +1 -0
  168. package/internal/shims.js +92 -0
  169. package/internal/shims.js.map +1 -0
  170. package/internal/shims.mjs +85 -0
  171. package/internal/shims.mjs.map +1 -0
  172. package/internal/to-file.d.mts +45 -0
  173. package/internal/to-file.d.mts.map +1 -0
  174. package/internal/to-file.d.ts +45 -0
  175. package/internal/to-file.d.ts.map +1 -0
  176. package/internal/to-file.js +91 -0
  177. package/internal/to-file.js.map +1 -0
  178. package/internal/to-file.mjs +88 -0
  179. package/internal/to-file.mjs.map +1 -0
  180. package/internal/tslib.js +81 -0
  181. package/internal/tslib.mjs +17 -0
  182. package/internal/types.d.mts +69 -0
  183. package/internal/types.d.mts.map +1 -0
  184. package/internal/types.d.ts +69 -0
  185. package/internal/types.d.ts.map +1 -0
  186. package/internal/types.js +4 -0
  187. package/internal/types.js.map +1 -0
  188. package/internal/types.mjs +3 -0
  189. package/internal/types.mjs.map +1 -0
  190. package/internal/uploads.d.mts +42 -0
  191. package/internal/uploads.d.mts.map +1 -0
  192. package/internal/uploads.d.ts +42 -0
  193. package/internal/uploads.d.ts.map +1 -0
  194. package/internal/uploads.js +141 -0
  195. package/internal/uploads.js.map +1 -0
  196. package/internal/uploads.mjs +131 -0
  197. package/internal/uploads.mjs.map +1 -0
  198. package/internal/utils/base64.d.mts +3 -0
  199. package/internal/utils/base64.d.mts.map +1 -0
  200. package/internal/utils/base64.d.ts +3 -0
  201. package/internal/utils/base64.d.ts.map +1 -0
  202. package/internal/utils/base64.js +38 -0
  203. package/internal/utils/base64.js.map +1 -0
  204. package/internal/utils/base64.mjs +33 -0
  205. package/internal/utils/base64.mjs.map +1 -0
  206. package/internal/utils/bytes.d.mts +4 -0
  207. package/internal/utils/bytes.d.mts.map +1 -0
  208. package/internal/utils/bytes.d.ts +4 -0
  209. package/internal/utils/bytes.d.ts.map +1 -0
  210. package/internal/utils/bytes.js +31 -0
  211. package/internal/utils/bytes.js.map +1 -0
  212. package/internal/utils/bytes.mjs +26 -0
  213. package/internal/utils/bytes.mjs.map +1 -0
  214. package/internal/utils/env.d.mts +9 -0
  215. package/internal/utils/env.d.mts.map +1 -0
  216. package/internal/utils/env.d.ts +9 -0
  217. package/internal/utils/env.d.ts.map +1 -0
  218. package/internal/utils/env.js +22 -0
  219. package/internal/utils/env.js.map +1 -0
  220. package/internal/utils/env.mjs +18 -0
  221. package/internal/utils/env.mjs.map +1 -0
  222. package/internal/utils/log.d.mts +37 -0
  223. package/internal/utils/log.d.mts.map +1 -0
  224. package/internal/utils/log.d.ts +37 -0
  225. package/internal/utils/log.d.ts.map +1 -0
  226. package/internal/utils/log.js +86 -0
  227. package/internal/utils/log.js.map +1 -0
  228. package/internal/utils/log.mjs +80 -0
  229. package/internal/utils/log.mjs.map +1 -0
  230. package/internal/utils/path.d.mts +15 -0
  231. package/internal/utils/path.d.mts.map +1 -0
  232. package/internal/utils/path.d.ts +15 -0
  233. package/internal/utils/path.d.ts.map +1 -0
  234. package/internal/utils/path.js +79 -0
  235. package/internal/utils/path.js.map +1 -0
  236. package/internal/utils/path.mjs +74 -0
  237. package/internal/utils/path.mjs.map +1 -0
  238. package/internal/utils/query.d.mts +2 -0
  239. package/internal/utils/query.d.mts.map +1 -0
  240. package/internal/utils/query.d.ts +2 -0
  241. package/internal/utils/query.d.ts.map +1 -0
  242. package/internal/utils/query.js +10 -0
  243. package/internal/utils/query.js.map +1 -0
  244. package/internal/utils/query.mjs +6 -0
  245. package/internal/utils/query.mjs.map +1 -0
  246. package/internal/utils/sleep.d.mts +2 -0
  247. package/internal/utils/sleep.d.mts.map +1 -0
  248. package/internal/utils/sleep.d.ts +2 -0
  249. package/internal/utils/sleep.d.ts.map +1 -0
  250. package/internal/utils/sleep.js +7 -0
  251. package/internal/utils/sleep.js.map +1 -0
  252. package/internal/utils/sleep.mjs +3 -0
  253. package/internal/utils/sleep.mjs.map +1 -0
  254. package/internal/utils/uuid.d.mts +5 -0
  255. package/internal/utils/uuid.d.mts.map +1 -0
  256. package/internal/utils/uuid.d.ts +5 -0
  257. package/internal/utils/uuid.d.ts.map +1 -0
  258. package/internal/utils/uuid.js +19 -0
  259. package/internal/utils/uuid.js.map +1 -0
  260. package/internal/utils/uuid.mjs +15 -0
  261. package/internal/utils/uuid.mjs.map +1 -0
  262. package/internal/utils/values.d.mts +18 -0
  263. package/internal/utils/values.d.mts.map +1 -0
  264. package/internal/utils/values.d.ts +18 -0
  265. package/internal/utils/values.d.ts.map +1 -0
  266. package/internal/utils/values.js +112 -0
  267. package/internal/utils/values.js.map +1 -0
  268. package/internal/utils/values.mjs +94 -0
  269. package/internal/utils/values.mjs.map +1 -0
  270. package/internal/utils.d.mts +8 -0
  271. package/internal/utils.d.mts.map +1 -0
  272. package/internal/utils.d.ts +8 -0
  273. package/internal/utils.d.ts.map +1 -0
  274. package/internal/utils.js +12 -0
  275. package/internal/utils.js.map +1 -0
  276. package/internal/utils.mjs +9 -0
  277. package/internal/utils.mjs.map +1 -0
  278. package/lib/dx.d.mts +96 -0
  279. package/lib/dx.d.mts.map +1 -0
  280. package/lib/dx.d.ts +96 -0
  281. package/lib/dx.d.ts.map +1 -0
  282. package/lib/dx.js +239 -0
  283. package/lib/dx.js.map +1 -0
  284. package/lib/dx.mjs +235 -0
  285. package/lib/dx.mjs.map +1 -0
  286. package/package.json +144 -58
  287. package/resource.d.mts +2 -0
  288. package/resource.d.mts.map +1 -0
  289. package/resource.d.ts +2 -0
  290. package/resource.d.ts.map +1 -0
  291. package/resource.js +6 -0
  292. package/resource.js.map +1 -0
  293. package/resource.mjs +2 -0
  294. package/resource.mjs.map +1 -0
  295. package/resources/collections.d.mts +289 -0
  296. package/resources/collections.d.mts.map +1 -0
  297. package/resources/collections.d.ts +289 -0
  298. package/resources/collections.d.ts.map +1 -0
  299. package/resources/collections.js +72 -0
  300. package/resources/collections.js.map +1 -0
  301. package/resources/collections.mjs +68 -0
  302. package/resources/collections.mjs.map +1 -0
  303. package/resources/connectors.d.mts +148 -0
  304. package/resources/connectors.d.mts.map +1 -0
  305. package/resources/connectors.d.ts +148 -0
  306. package/resources/connectors.d.ts.map +1 -0
  307. package/resources/connectors.js +50 -0
  308. package/resources/connectors.js.map +1 -0
  309. package/resources/connectors.mjs +46 -0
  310. package/resources/connectors.mjs.map +1 -0
  311. package/resources/index.d.mts +6 -0
  312. package/resources/index.d.mts.map +1 -0
  313. package/resources/index.d.ts +6 -0
  314. package/resources/index.d.ts.map +1 -0
  315. package/resources/index.js +13 -0
  316. package/resources/index.js.map +1 -0
  317. package/resources/index.mjs +6 -0
  318. package/resources/index.mjs.map +1 -0
  319. package/resources/memories.d.mts +1737 -0
  320. package/resources/memories.d.mts.map +1 -0
  321. package/resources/memories.d.ts +1737 -0
  322. package/resources/memories.d.ts.map +1 -0
  323. package/resources/memories.js +157 -0
  324. package/resources/memories.js.map +1 -0
  325. package/resources/memories.mjs +153 -0
  326. package/resources/memories.mjs.map +1 -0
  327. package/resources/snapshots.d.mts +281 -0
  328. package/resources/snapshots.d.mts.map +1 -0
  329. package/resources/snapshots.d.ts +281 -0
  330. package/resources/snapshots.d.ts.map +1 -0
  331. package/resources/snapshots.js +22 -0
  332. package/resources/snapshots.js.map +1 -0
  333. package/resources/snapshots.mjs +18 -0
  334. package/resources/snapshots.mjs.map +1 -0
  335. package/resources/top-level.d.mts +14 -0
  336. package/resources/top-level.d.mts.map +1 -0
  337. package/resources/top-level.d.ts +14 -0
  338. package/resources/top-level.d.ts.map +1 -0
  339. package/resources/top-level.js +4 -0
  340. package/resources/top-level.js.map +1 -0
  341. package/resources/top-level.mjs +3 -0
  342. package/resources/top-level.mjs.map +1 -0
  343. package/resources.d.mts +2 -0
  344. package/resources.d.mts.map +1 -0
  345. package/resources.d.ts +2 -0
  346. package/resources.d.ts.map +1 -0
  347. package/resources.js +5 -0
  348. package/resources.js.map +1 -0
  349. package/resources.mjs +2 -0
  350. package/resources.mjs.map +1 -0
  351. package/src/api-promise.ts +2 -0
  352. package/src/client.ts +892 -0
  353. package/src/core/README.md +3 -0
  354. package/src/core/api-promise.ts +92 -0
  355. package/src/core/error.ts +130 -0
  356. package/src/core/resource.ts +11 -0
  357. package/src/core/uploads.ts +2 -0
  358. package/src/error.ts +2 -0
  359. package/src/index.ts +36 -0
  360. package/src/internal/README.md +3 -0
  361. package/src/internal/builtin-types.ts +93 -0
  362. package/src/internal/detect-platform.ts +196 -0
  363. package/src/internal/errors.ts +33 -0
  364. package/src/internal/headers.ts +97 -0
  365. package/src/internal/parse.ts +56 -0
  366. package/src/internal/qs/LICENSE.md +13 -0
  367. package/src/internal/qs/README.md +3 -0
  368. package/src/internal/qs/formats.ts +10 -0
  369. package/src/internal/qs/index.ts +13 -0
  370. package/src/internal/qs/stringify.ts +385 -0
  371. package/src/internal/qs/types.ts +71 -0
  372. package/src/internal/qs/utils.ts +265 -0
  373. package/src/internal/request-options.ts +93 -0
  374. package/src/internal/shim-types.ts +26 -0
  375. package/src/internal/shims.ts +107 -0
  376. package/src/internal/to-file.ts +154 -0
  377. package/src/internal/types.ts +95 -0
  378. package/src/internal/uploads.ts +187 -0
  379. package/src/internal/utils/base64.ts +40 -0
  380. package/src/internal/utils/bytes.ts +32 -0
  381. package/src/internal/utils/env.ts +18 -0
  382. package/src/internal/utils/log.ts +127 -0
  383. package/src/internal/utils/path.ts +88 -0
  384. package/src/internal/utils/query.ts +7 -0
  385. package/src/internal/utils/sleep.ts +3 -0
  386. package/src/internal/utils/uuid.ts +17 -0
  387. package/src/internal/utils/values.ts +105 -0
  388. package/src/internal/utils.ts +9 -0
  389. package/src/lib/.keep +4 -0
  390. package/src/lib/dx.ts +459 -0
  391. package/src/resource.ts +2 -0
  392. package/src/resources/collections.ts +474 -0
  393. package/src/resources/connectors.ts +236 -0
  394. package/src/resources/index.ts +56 -0
  395. package/src/resources/memories.ts +2409 -0
  396. package/src/resources/snapshots.ts +387 -0
  397. package/src/resources/top-level.ts +19 -0
  398. package/src/resources.ts +1 -0
  399. package/src/tsconfig.json +11 -0
  400. package/src/uploads.ts +2 -0
  401. package/src/version.ts +1 -0
  402. package/uploads.d.mts +2 -0
  403. package/uploads.d.mts.map +1 -0
  404. package/uploads.d.ts +2 -0
  405. package/uploads.d.ts.map +1 -0
  406. package/uploads.js +6 -0
  407. package/uploads.js.map +1 -0
  408. package/uploads.mjs +2 -0
  409. package/uploads.mjs.map +1 -0
  410. package/version.d.mts +2 -0
  411. package/version.d.mts.map +1 -0
  412. package/version.d.ts +2 -0
  413. package/version.d.ts.map +1 -0
  414. package/version.js +5 -0
  415. package/version.js.map +1 -0
  416. package/version.mjs +2 -0
  417. package/version.mjs.map +1 -0
  418. package/dist/index.d.mts +0 -557
  419. package/dist/index.d.ts +0 -557
  420. package/dist/index.js +0 -1282
  421. package/dist/index.js.map +0 -1
  422. package/dist/index.mjs +0 -1267
  423. package/dist/index.mjs.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,35 @@
1
+ # Changelog
2
+
3
+ ## 1.3.0 (2026-04-27)
4
+
5
+ Full Changelog: [v1.2.2...v1.3.0](https://github.com/nebula-agi/nebula-typescript/compare/v1.2.2...v1.3.0)
6
+
7
+ ### Features
8
+
9
+ * [codex] Clean up replayed playground memories ([2b1f57d](https://github.com/nebula-agi/nebula-typescript/commit/2b1f57d98f1e4f433a8ef6fd9d9eba5b6a55917f))
10
+ * [codex] Fix EngramResponse OpenAPI example ([4025791](https://github.com/nebula-agi/nebula-typescript/commit/402579144bba03ddc0266488d54d48276bef6dc5))
11
+ * [codex] Harden memory write validation contracts ([64a8ef8](https://github.com/nebula-agi/nebula-typescript/commit/64a8ef80de1a5ce71636b376a14fea9b1bbf765e))
12
+ * add nebula devex facade ([41916e2](https://github.com/nebula-agi/nebula-typescript/commit/41916e2dd50161f87c41f2096bc4209580a25e48))
13
+ * api: honor chunks_limit on memory listing ([d9da2aa](https://github.com/nebula-agi/nebula-typescript/commit/d9da2aa355911262bcefa1a5acdad71f12d2768d))
14
+ * engram: replace generated summaries with deterministic engram_context ([a3f9ec1](https://github.com/nebula-agi/nebula-typescript/commit/a3f9ec1fdee8b454e1d4ac915ae0054c8c9c1cfe))
15
+ * NQL overhaul v2 - clean cherry-pick baseline from [#526](https://github.com/nebula-agi/nebula-typescript/issues/526) ([cf0a59d](https://github.com/nebula-agi/nebula-typescript/commit/cf0a59db3b8bc6de2ab5fcd413ed3d8f4edce141))
16
+ * Remove legacy append chunk IDs from public contract ([e81eb69](https://github.com/nebula-agi/nebula-typescript/commit/e81eb69b3f738a03f4718d48257b3fee139152b6))
17
+ * Rename MemoryRecall response fields to adjective-uniform shape ([9041587](https://github.com/nebula-agi/nebula-typescript/commit/9041587a4e1fdd8af6247a89237bad4b1875b4f8))
18
+ * sdks/python: SnapshotEnvelope dataclass + typed export/import/search/add ([db8ba18](https://github.com/nebula-agi/nebula-typescript/commit/db8ba187d0eca3acd2b6296c9aac60ef9f48899e))
19
+ * Stabilize memory create SDK response schema ([077b653](https://github.com/nebula-agi/nebula-typescript/commit/077b653f8c2b51729b7399c153921dca8335b510))
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * dx deleteMemories body precedence ([#7](https://github.com/nebula-agi/nebula-typescript/issues/7)) ([0db50e6](https://github.com/nebula-agi/nebula-typescript/commit/0db50e680625f4212e2e15f3186eb8b08a26ede7))
25
+ * harden DX store and delete helpers ([#6](https://github.com/nebula-agi/nebula-typescript/issues/6)) ([6682596](https://github.com/nebula-agi/nebula-typescript/commit/6682596faf42e20116796c9fb55c38abf44cb194))
26
+ * split MemoryInput into discriminated union, forward all append fields ([#8](https://github.com/nebula-agi/nebula-typescript/issues/8)) ([323948a](https://github.com/nebula-agi/nebula-typescript/commit/323948aecbadaed6c6f8f3bcb96af4e015db9241))
27
+
28
+
29
+ ### Chores
30
+
31
+ * configure new SDK language ([51c71c3](https://github.com/nebula-agi/nebula-typescript/commit/51c71c3f1f01bdc3e0eb478b8855753f15033e36))
32
+ * **internal:** more robust bootstrap script ([586f171](https://github.com/nebula-agi/nebula-typescript/commit/586f1714807451e24da433558e96aa872c6d9073))
33
+ * seed release baseline ([#5](https://github.com/nebula-agi/nebula-typescript/issues/5)) ([cb59ec4](https://github.com/nebula-agi/nebula-typescript/commit/cb59ec47ffa008da8d1154f6b5ae98ce263ae9e2))
34
+ * update SDK settings ([b7693b1](https://github.com/nebula-agi/nebula-typescript/commit/b7693b152c878bee241a3beb87f48c0e6fb8bf0f))
35
+ * update SDK settings ([8954684](https://github.com/nebula-agi/nebula-typescript/commit/8954684d19b304fca8111359b57d38f033257269))
package/LICENSE CHANGED
@@ -1,26 +1,7 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Nebula AI Inc
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
23
-
1
+ Copyright 2026 nebula
24
2
 
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25
4
 
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
26
6
 
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,194 +1,371 @@
1
- # @nebula-ai/sdk
1
+ # Nebula TypeScript API Library
2
2
 
3
- Persistent memory layer for AI applications. Store, search, and retrieve information with semantic understanding.
3
+ [![NPM version](<https://img.shields.io/npm/v/@nebula-ai/sdk.svg?label=npm%20(stable)>)](https://npmjs.org/package/@nebula-ai/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@nebula-ai/sdk)
4
4
 
5
- ## Requirements
5
+ This library provides convenient access to the Nebula REST API from server-side TypeScript or JavaScript.
6
+
7
+ The REST API documentation can be found on [docs.trynebula.ai](https://docs.trynebula.ai). The full API of this library can be found in [api.md](api.md).
6
8
 
7
- - Node.js 18.0.0 or higher
9
+ It is generated with [Stainless](https://www.stainless.com/).
8
10
 
9
11
  ## Installation
10
12
 
11
- ```bash
13
+ ```sh
12
14
  npm install @nebula-ai/sdk
13
15
  ```
14
16
 
15
- ## Quick Start
17
+ ## Usage
18
+
19
+ The full API of this library can be found in [api.md](api.md).
16
20
 
17
- ```typescript
21
+ <!-- prettier-ignore -->
22
+ ```js
18
23
  import Nebula from '@nebula-ai/sdk';
19
24
 
20
- // Initialize client
21
25
  const client = new Nebula({
22
- apiKey: 'your-api-key'
26
+ accessToken: process.env['NEBULA_BEARER_TOKEN'], // This is the default and can be omitted
23
27
  });
24
28
 
25
- // Create a collection
26
- const collection = await client.createCluster({
27
- name: 'my_notes'
29
+ const collection = await client.collections.create({
30
+ name: 'Example collection',
31
+ description: 'Memory store for my app',
28
32
  });
29
33
 
30
- // Store a memory
31
- const memoryId = await client.storeMemory({
32
- collection_id: collection.id,
33
- content: 'Machine learning is transforming healthcare',
34
- metadata: { topic: 'AI', importance: 'high' }
35
- });
34
+ console.log(collection.results);
35
+ ```
36
36
 
37
- // Search memories
38
- const results = await client.search({
39
- query: 'machine learning healthcare',
40
- collection_ids: [collection.id],
41
- limit: 5
42
- });
37
+ ### Request & Response types
43
38
 
44
- results.forEach(result => {
45
- console.log(`Score: ${result.score?.toFixed(2)}`);
46
- console.log(`Content: ${result.content}`);
39
+ This library includes TypeScript definitions for all request params and response fields. You may import and use them like so:
40
+
41
+ <!-- prettier-ignore -->
42
+ ```ts
43
+ import Nebula from '@nebula-ai/sdk';
44
+
45
+ const client = new Nebula({
46
+ accessToken: process.env['NEBULA_BEARER_TOKEN'], // This is the default and can be omitted
47
47
  });
48
+
49
+ const params: Nebula.CollectionCreateParams = {
50
+ name: 'Example collection',
51
+ description: 'Memory store for my app',
52
+ };
53
+ const collection: Nebula.CollectionCreateResponse = await client.collections.create(params);
54
+ ```
55
+
56
+ Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
57
+
58
+ ## Handling errors
59
+
60
+ When the library is unable to connect to the API,
61
+ or if the API returns a non-success status code (i.e., 4xx or 5xx response),
62
+ a subclass of `APIError` will be thrown:
63
+
64
+ <!-- prettier-ignore -->
65
+ ```ts
66
+ const collection = await client.collections
67
+ .create({ name: 'Example collection', description: 'Memory store for my app' })
68
+ .catch(async (err) => {
69
+ if (err instanceof Nebula.APIError) {
70
+ console.log(err.status); // 400
71
+ console.log(err.name); // BadRequestError
72
+ console.log(err.headers); // {server: 'nginx', ...}
73
+ } else {
74
+ throw err;
75
+ }
76
+ });
48
77
  ```
49
78
 
50
- ## Core Operations
79
+ Error codes are as follows:
51
80
 
52
- ### Collections
81
+ | Status Code | Error Type |
82
+ | ----------- | -------------------------- |
83
+ | 400 | `BadRequestError` |
84
+ | 401 | `AuthenticationError` |
85
+ | 403 | `PermissionDeniedError` |
86
+ | 404 | `NotFoundError` |
87
+ | 422 | `UnprocessableEntityError` |
88
+ | 429 | `RateLimitError` |
89
+ | >=500 | `InternalServerError` |
90
+ | N/A | `APIConnectionError` |
53
91
 
54
- ```typescript
55
- // Create
56
- const collection = await client.createCluster({
57
- name: 'my_collection',
58
- description: 'Optional description'
59
- });
92
+ ### Retries
60
93
 
61
- // List
62
- const collections = await client.listClusters();
94
+ Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
95
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
96
+ 429 Rate Limit, and >=500 Internal errors will all be retried by default.
63
97
 
64
- // Get by ID or name
65
- const collection = await client.getCluster(collectionId);
66
- const collection = await client.getClusterByName('my_collection');
98
+ You can use the `maxRetries` option to configure or disable this:
67
99
 
68
- // Update
69
- await client.updateCluster({
70
- collectionId,
71
- name: 'new_name'
100
+ <!-- prettier-ignore -->
101
+ ```js
102
+ // Configure the default for all requests:
103
+ const client = new Nebula({
104
+ maxRetries: 0, // default is 2
72
105
  });
73
106
 
74
- // Delete
75
- await client.deleteCluster(collectionId);
107
+ // Or, configure per-request:
108
+ await client.collections.create({ name: 'Example collection', description: 'Memory store for my app' }, {
109
+ maxRetries: 5,
110
+ });
76
111
  ```
77
112
 
78
- ### Store Memories
113
+ ### Timeouts
114
+
115
+ Requests time out after 1 minute by default. You can configure this with a `timeout` option:
116
+
117
+ <!-- prettier-ignore -->
118
+ ```ts
119
+ // Configure the default for all requests:
120
+ const client = new Nebula({
121
+ timeout: 20 * 1000, // 20 seconds (default is 1 minute)
122
+ });
79
123
 
80
- ```typescript
81
- // Single memory
82
- const memoryId = await client.storeMemory({
83
- collection_id: collection.id,
84
- content: 'Your content here',
85
- metadata: { category: 'example' }
124
+ // Override per-request:
125
+ await client.collections.create({ name: 'Example collection', description: 'Memory store for my app' }, {
126
+ timeout: 5 * 1000,
86
127
  });
128
+ ```
129
+
130
+ On timeout, an `APIConnectionTimeoutError` is thrown.
131
+
132
+ Note that requests which time out will be [retried twice by default](#retries).
133
+
134
+ ## Advanced Usage
87
135
 
88
- // Batch storage
89
- const memoryIds = await client.storeMemories([
90
- { collection_id: collection.id, content: 'First memory' },
91
- { collection_id: collection.id, content: 'Second memory' }
92
- ]);
136
+ ### Accessing raw Response data (e.g., headers)
137
+
138
+ The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
139
+ This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
140
+
141
+ You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
142
+ Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
143
+
144
+ <!-- prettier-ignore -->
145
+ ```ts
146
+ const client = new Nebula();
147
+
148
+ const response = await client.collections
149
+ .create({ name: 'Example collection', description: 'Memory store for my app' })
150
+ .asResponse();
151
+ console.log(response.headers.get('X-My-Header'));
152
+ console.log(response.statusText); // access the underlying Response object
153
+
154
+ const { data: collection, response: raw } = await client.collections
155
+ .create({ name: 'Example collection', description: 'Memory store for my app' })
156
+ .withResponse();
157
+ console.log(raw.headers.get('X-My-Header'));
158
+ console.log(collection.results);
93
159
  ```
94
160
 
95
- ### Retrieve Memories
161
+ ### Logging
162
+
163
+ > [!IMPORTANT]
164
+ > All log messages are intended for debugging only. The format and content of log messages
165
+ > may change between releases.
96
166
 
97
- ```typescript
98
- // List memories
99
- const memories = await client.listMemories({
100
- collection_ids: [collection.id],
101
- limit: 10
167
+ #### Log levels
168
+
169
+ The log level can be configured in two ways:
170
+
171
+ 1. Via the `NEBULA_LOG` environment variable
172
+ 2. Using the `logLevel` client option (overrides the environment variable if set)
173
+
174
+ ```ts
175
+ import Nebula from '@nebula-ai/sdk';
176
+
177
+ const client = new Nebula({
178
+ logLevel: 'debug', // Show all log messages
102
179
  });
180
+ ```
181
+
182
+ Available log levels, from most to least verbose:
183
+
184
+ - `'debug'` - Show debug messages, info, warnings, and errors
185
+ - `'info'` - Show info messages, warnings, and errors
186
+ - `'warn'` - Show warnings and errors (default)
187
+ - `'error'` - Show only errors
188
+ - `'off'` - Disable all logging
189
+
190
+ At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
191
+ Some authentication-related headers are redacted, but sensitive data in request and response bodies
192
+ may still be visible.
193
+
194
+ #### Custom logger
195
+
196
+ By default, this library logs to `globalThis.console`. You can also provide a custom logger.
197
+ Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
103
198
 
104
- // Filter with metadata
105
- const memories = await client.listMemories({
106
- collection_ids: [collection.id],
107
- metadata_filters: {
108
- 'metadata.category': { $eq: 'example' }
109
- }
199
+ When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
200
+ below the configured level will not be sent to your logger.
201
+
202
+ ```ts
203
+ import Nebula from '@nebula-ai/sdk';
204
+ import pino from 'pino';
205
+
206
+ const logger = pino();
207
+
208
+ const client = new Nebula({
209
+ logger: logger.child({ name: 'Nebula' }),
210
+ logLevel: 'debug', // Send all messages to pino, allowing it to filter
110
211
  });
212
+ ```
111
213
 
112
- // Get specific memory
113
- const memory = await client.getMemory('memory-id');
214
+ ### Making custom/undocumented requests
215
+
216
+ This library is typed for convenient access to the documented API. If you need to access undocumented
217
+ endpoints, params, or response properties, the library can still be used.
218
+
219
+ #### Undocumented endpoints
220
+
221
+ To make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.
222
+ Options on the client, such as retries, will be respected when making these requests.
223
+
224
+ ```ts
225
+ await client.post('/some/path', {
226
+ body: { some_prop: 'foo' },
227
+ query: { some_query_arg: 'bar' },
228
+ });
114
229
  ```
115
230
 
116
- ### Search
231
+ #### Undocumented request params
232
+
233
+ To make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented
234
+ parameter. This library doesn't validate at runtime that the request matches the type, so any extra values you
235
+ send will be sent as-is.
117
236
 
118
- ```typescript
119
- // Semantic search
120
- const results = await client.search({
121
- query: 'your search query',
122
- collection_ids: [collection.id],
123
- limit: 10
237
+ ```ts
238
+ client.collections.create({
239
+ // ...
240
+ // @ts-expect-error baz is not yet public
241
+ baz: 'undocumented option',
124
242
  });
125
243
  ```
126
244
 
127
- ### Delete
245
+ For requests with the `GET` verb, any extra params will be in the query, all other requests will send the
246
+ extra param in the body.
247
+
248
+ If you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request
249
+ options.
250
+
251
+ #### Undocumented response properties
252
+
253
+ To access undocumented response properties, you may access the response object with `// @ts-expect-error` on
254
+ the response object, or cast the response object to the requisite type. Like the request params, we do not
255
+ validate or strip extra properties from the response from the API.
256
+
257
+ ### Customizing the fetch client
258
+
259
+ By default, this library expects a global `fetch` function is defined.
260
+
261
+ If you want to use a different `fetch` function, you can either polyfill the global:
262
+
263
+ ```ts
264
+ import fetch from 'my-fetch';
265
+
266
+ globalThis.fetch = fetch;
267
+ ```
268
+
269
+ Or pass it to the client:
128
270
 
129
- ```typescript
130
- // Single deletion
131
- const deleted = await client.delete('memory-id'); // Returns boolean
271
+ ```ts
272
+ import Nebula from '@nebula-ai/sdk';
273
+ import fetch from 'my-fetch';
132
274
 
133
- // Batch deletion
134
- const result = await client.delete(['id1', 'id2', 'id3']); // Returns detailed results
275
+ const client = new Nebula({ fetch });
135
276
  ```
136
277
 
137
- ## Conversations
278
+ ### Fetch options
138
279
 
139
- ```typescript
140
- // Store conversation messages
141
- const conversationId = await client.storeMemory({
142
- collection_id: collection.id,
143
- content: 'What is machine learning?',
144
- role: 'user',
145
- metadata: { content_type: 'conversation' }
146
- });
280
+ If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
147
281
 
148
- await client.storeMemory({
149
- collection_id: collection.id,
150
- content: 'Machine learning is a subset of AI...',
151
- role: 'assistant',
152
- parent_id: conversationId,
153
- metadata: { content_type: 'conversation' }
282
+ ```ts
283
+ import Nebula from '@nebula-ai/sdk';
284
+
285
+ const client = new Nebula({
286
+ fetchOptions: {
287
+ // `RequestInit` options
288
+ },
154
289
  });
290
+ ```
291
+
292
+ #### Configuring proxies
293
+
294
+ To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
295
+ options to requests:
155
296
 
156
- // List conversation memories
157
- const conversations = await client.listMemories({
158
- collection_ids: [collection.id],
159
- metadata_filters: { 'metadata.content_type': { $eq: 'conversation' } }
297
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
298
+
299
+ ```ts
300
+ import Nebula from '@nebula-ai/sdk';
301
+ import * as undici from 'undici';
302
+
303
+ const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
304
+ const client = new Nebula({
305
+ fetchOptions: {
306
+ dispatcher: proxyAgent,
307
+ },
160
308
  });
309
+ ```
310
+
311
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
161
312
 
162
- // Get messages from a conversation memory
163
- const conversation = await client.getMemory(conversationId);
164
- const messages = conversation.chunks ?? [];
313
+ ```ts
314
+ import Nebula from '@nebula-ai/sdk';
315
+
316
+ const client = new Nebula({
317
+ fetchOptions: {
318
+ proxy: 'http://localhost:8888',
319
+ },
320
+ });
165
321
  ```
166
322
 
167
- ## Error Handling
323
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
168
324
 
169
- ```typescript
170
- import Nebula, {
171
- NebulaAuthenticationException,
172
- NebulaRateLimitException,
173
- NebulaValidationException
174
- } from '@nebula-ai/sdk';
325
+ ```ts
326
+ import Nebula from 'npm:@nebula-ai/sdk';
175
327
 
176
- try {
177
- await client.search({ query: 'query', collection_ids: [collectionId] });
178
- } catch (error) {
179
- if (error instanceof NebulaAuthenticationException) {
180
- console.log('Invalid API key');
181
- } else if (error instanceof NebulaRateLimitException) {
182
- console.log('Rate limit exceeded');
183
- }
184
- }
328
+ const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
329
+ const client = new Nebula({
330
+ fetchOptions: {
331
+ client: httpClient,
332
+ },
333
+ });
185
334
  ```
186
335
 
187
- ## Documentation
336
+ ## Frequently Asked Questions
337
+
338
+ ## Semantic versioning
339
+
340
+ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
341
+
342
+ 1. Changes that only affect static types, without breaking runtime behavior.
343
+ 2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
344
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
345
+
346
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
347
+
348
+ We are keen for your feedback; please open an [issue](https://www.github.com/nebula-agi/nebula-typescript/issues) with questions, bugs, or suggestions.
349
+
350
+ ## Requirements
351
+
352
+ TypeScript >= 4.9 is supported.
353
+
354
+ The following runtimes are supported:
355
+
356
+ - Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
357
+ - Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
358
+ - Deno v1.28.0 or higher.
359
+ - Bun 1.0 or later.
360
+ - Cloudflare Workers.
361
+ - Vercel Edge Runtime.
362
+ - Jest 28 or greater with the `"node"` environment (`"jsdom"` is not supported at this time).
363
+ - Nitro v2.6 or greater.
364
+
365
+ Note that React Native is not supported at this time.
188
366
 
189
- - [Full Documentation](https://docs.trynebula.ai)
190
- - [API Reference](https://docs.trynebula.ai/clients/nodejs)
367
+ If you are interested in other runtime environments, please open or upvote an issue on GitHub.
191
368
 
192
- ## Support
369
+ ## Contributing
193
370
 
194
- Email [support@trynebula.ai](mailto:support@trynebula.ai)
371
+ See [the contributing documentation](./CONTRIBUTING.md).
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.mjs";
2
+ //# sourceMappingURL=api-promise.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.js";
2
+ //# sourceMappingURL=api-promise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
package/api-promise.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("./internal/tslib.js");
4
+ /** @deprecated Import from ./core/api-promise instead */
5
+ tslib_1.__exportStar(require("./core/api-promise.js"), exports);
6
+ //# sourceMappingURL=api-promise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.js","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,gEAAmC"}
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.mjs";
2
+ //# sourceMappingURL=api-promise.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.mjs","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}