@nhost/nhost-js 3.2.8 → 5.0.0-beta.2

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 (120) hide show
  1. package/README.md +73 -37
  2. package/dist/nhost-js/auth.cjs.js +2 -0
  3. package/dist/nhost-js/auth.cjs.js.map +1 -0
  4. package/dist/nhost-js/auth.es.js +589 -0
  5. package/dist/nhost-js/auth.es.js.map +1 -0
  6. package/dist/nhost-js/fetch.cjs.js +2 -0
  7. package/dist/nhost-js/fetch.cjs.js.map +1 -0
  8. package/dist/nhost-js/fetch.es.js +10 -0
  9. package/dist/nhost-js/fetch.es.js.map +1 -0
  10. package/dist/nhost-js/functions.cjs.js +2 -0
  11. package/dist/nhost-js/functions.cjs.js.map +1 -0
  12. package/dist/nhost-js/functions.es.js +31 -0
  13. package/dist/nhost-js/functions.es.js.map +1 -0
  14. package/dist/nhost-js/graphql.cjs.js +2 -0
  15. package/dist/nhost-js/graphql.cjs.js.map +1 -0
  16. package/dist/nhost-js/graphql.es.js +35 -0
  17. package/dist/nhost-js/graphql.es.js.map +1 -0
  18. package/dist/nhost-js/storage.cjs.js +2 -0
  19. package/dist/nhost-js/storage.cjs.js.map +1 -0
  20. package/dist/nhost-js/storage.es.js +205 -0
  21. package/dist/nhost-js/storage.es.js.map +1 -0
  22. package/dist/nhost-js.cjs.js +2 -0
  23. package/dist/nhost-js.cjs.js.map +1 -0
  24. package/dist/nhost-js.es.js +497 -0
  25. package/dist/nhost-js.es.js.map +1 -0
  26. package/dist/nhost-js.umd.js +2 -0
  27. package/dist/nhost-js.umd.js.map +1 -0
  28. package/dist/src/auth/client.d.ts +430 -0
  29. package/dist/src/auth/client.d.ts.map +1 -0
  30. package/dist/src/auth/client.js +727 -0
  31. package/dist/src/auth/client.js.map +1 -0
  32. package/dist/src/auth/index.d.ts +11 -0
  33. package/dist/src/auth/index.d.ts.map +1 -0
  34. package/dist/src/auth/index.js +11 -0
  35. package/dist/src/auth/index.js.map +1 -0
  36. package/dist/src/auth/interface.d.ts +142 -0
  37. package/dist/src/auth/interface.d.ts.map +1 -0
  38. package/dist/src/auth/interface.js +2 -0
  39. package/dist/src/auth/interface.js.map +1 -0
  40. package/dist/src/fetch/index.d.ts +53 -0
  41. package/dist/src/fetch/index.d.ts.map +1 -0
  42. package/dist/src/fetch/index.js +40 -0
  43. package/dist/src/fetch/index.js.map +1 -0
  44. package/dist/src/functions/client.d.ts +47 -0
  45. package/dist/src/functions/client.d.ts.map +1 -0
  46. package/dist/src/functions/client.js +62 -0
  47. package/dist/src/functions/client.js.map +1 -0
  48. package/dist/src/functions/index.d.ts +10 -0
  49. package/dist/src/functions/index.d.ts.map +1 -0
  50. package/dist/src/functions/index.js +10 -0
  51. package/dist/src/functions/index.js.map +1 -0
  52. package/dist/src/graphql/client.d.ts +89 -0
  53. package/dist/src/graphql/client.d.ts.map +1 -0
  54. package/dist/src/graphql/client.js +49 -0
  55. package/dist/src/graphql/client.js.map +1 -0
  56. package/dist/src/graphql/index.d.ts +10 -0
  57. package/dist/src/graphql/index.d.ts.map +1 -0
  58. package/dist/src/graphql/index.js +10 -0
  59. package/dist/src/graphql/index.js.map +1 -0
  60. package/dist/src/index.d.ts +184 -0
  61. package/dist/src/index.d.ts.map +1 -0
  62. package/dist/src/index.js +251 -0
  63. package/dist/src/index.js.map +1 -0
  64. package/dist/src/middlewareAttachToken.d.ts +24 -0
  65. package/dist/src/middlewareAttachToken.d.ts.map +1 -0
  66. package/dist/src/middlewareAttachToken.js +60 -0
  67. package/dist/src/middlewareAttachToken.js.map +1 -0
  68. package/dist/src/middlewareRefreshSession.d.ts +43 -0
  69. package/dist/src/middlewareRefreshSession.d.ts.map +1 -0
  70. package/dist/src/middlewareRefreshSession.js +190 -0
  71. package/dist/src/middlewareRefreshSession.js.map +1 -0
  72. package/dist/src/middlewareResponseSession.d.ts +26 -0
  73. package/dist/src/middlewareResponseSession.d.ts.map +1 -0
  74. package/dist/src/middlewareResponseSession.js +83 -0
  75. package/dist/src/middlewareResponseSession.js.map +1 -0
  76. package/dist/src/sessionStorage.d.ts +123 -0
  77. package/dist/src/sessionStorage.d.ts.map +1 -0
  78. package/dist/src/sessionStorage.js +165 -0
  79. package/dist/src/sessionStorage.js.map +1 -0
  80. package/dist/src/storage/client.d.ts +184 -0
  81. package/dist/src/storage/client.d.ts.map +1 -0
  82. package/dist/src/storage/client.js +249 -0
  83. package/dist/src/storage/client.js.map +1 -0
  84. package/dist/src/storage/index.d.ts +11 -0
  85. package/dist/src/storage/index.d.ts.map +1 -0
  86. package/dist/src/storage/index.js +11 -0
  87. package/dist/src/storage/index.js.map +1 -0
  88. package/dist/src/storage/interface.d.ts +52 -0
  89. package/dist/src/storage/interface.d.ts.map +1 -0
  90. package/dist/src/storage/interface.js +2 -0
  91. package/dist/src/storage/interface.js.map +1 -0
  92. package/dist/tsconfig.tsbuildinfo +1 -0
  93. package/package.json +109 -63
  94. package/LICENSE +0 -21
  95. package/dist/clients/auth.d.ts +0 -8
  96. package/dist/clients/auth.d.ts.map +0 -1
  97. package/dist/clients/functions/index.d.ts +0 -107
  98. package/dist/clients/functions/index.d.ts.map +0 -1
  99. package/dist/clients/functions/types.d.ts +0 -28
  100. package/dist/clients/functions/types.d.ts.map +0 -1
  101. package/dist/clients/graphql.d.ts +0 -8
  102. package/dist/clients/graphql.d.ts.map +0 -1
  103. package/dist/clients/index.d.ts +0 -6
  104. package/dist/clients/index.d.ts.map +0 -1
  105. package/dist/clients/nhost.d.ts +0 -83
  106. package/dist/clients/nhost.d.ts.map +0 -1
  107. package/dist/clients/storage.d.ts +0 -8
  108. package/dist/clients/storage.d.ts.map +0 -1
  109. package/dist/index.cjs.js +0 -2
  110. package/dist/index.cjs.js.map +0 -1
  111. package/dist/index.d.ts +0 -6
  112. package/dist/index.d.ts.map +0 -1
  113. package/dist/index.esm.js +0 -344
  114. package/dist/index.esm.js.map +0 -1
  115. package/dist/utils/helpers.d.ts +0 -20
  116. package/dist/utils/helpers.d.ts.map +0 -1
  117. package/dist/utils/types.d.ts +0 -57
  118. package/dist/utils/types.d.ts.map +0 -1
  119. package/umd/nhost-js.umd.js +0 -22
  120. package/umd/nhost-js.umd.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/fetch/index.ts","../src/auth/interface.ts","../src/auth/client.ts","../src/auth/index.ts","../src/storage/interface.ts","../src/storage/client.ts","../src/storage/index.ts","../src/graphql/client.ts","../src/graphql/index.ts","../src/functions/client.ts","../src/functions/index.ts","../src/sessionstorage.ts","../src/middlewarerefreshsession.ts","../src/middlewareattachtoken.ts","../src/middlewareresponsesession.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.15.17/node_modules/@types/node/index.d.ts"],"fileIdsList":[[101,141,144],[101,143,144],[144],[101,144,149,179],[101,144,145,150,156,157,164,176,187],[101,144,145,146,156,164],[101,144],[96,97,98,101,144],[101,144,147,188],[101,144,148,149,157,165],[101,144,149,176,184],[101,144,150,152,156,164],[101,143,144,151],[101,144,152,153],[101,144,156],[101,144,154,156],[101,143,144,156],[101,144,156,157,158,176,187],[101,144,156,157,158,171,176,179],[101,139,144,192],[101,139,144,152,156,159,164,176,187],[101,144,156,157,159,160,164,176,184,187],[101,144,159,161,176,184,187],[99,100,101,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193],[101,144,156,162],[101,144,163,187],[101,144,152,156,164,176],[101,144,165],[101,144,166],[101,143,144,167],[101,141,142,143,144,145,146,147,148,149,150,151,152,153,154,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193],[101,144,169],[101,144,170],[101,144,156,171,172],[101,144,171,173,188,190],[101,144,156,176,177,179],[101,144,178,179],[101,144,176,177],[101,144,179],[101,144,180],[101,141,144,176],[101,144,156,182,183],[101,144,182,183],[101,144,149,164,176,184],[101,144,185],[101,144,164,186],[101,144,159,170,187],[101,144,149,188],[101,144,176,189],[101,144,163,190],[101,144,191],[101,144,149,156,158,167,176,187,190,192],[101,144,176,193],[101,111,115,144,187],[101,111,144,176,187],[101,106,144],[101,108,111,144,184,187],[101,144,164,184],[101,144,194],[101,106,144,194],[101,108,111,144,164,187],[101,103,104,107,110,144,156,176,187],[101,111,118,144],[101,103,109,144],[101,111,132,133,144],[101,107,111,144,179,187,194],[101,132,144,194],[101,105,106,144,194],[101,111,144],[101,105,106,107,108,109,110,111,112,113,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,133,134,135,136,137,138,144],[101,111,126,144],[101,111,118,119,144],[101,109,111,119,120,144],[101,110,144],[101,103,106,111,144],[101,111,115,119,120,144],[101,115,144],[101,109,111,114,144,187],[101,103,108,111,118,144],[101,144,176],[101,106,111,132,144,192,194],[80,81,101,144],[81,82,101,144],[80,82,101,144],[80,101,144],[89,101,144],[87,101,144],[83,86,88,90,91,92,93,94,101,144],[80,83,91,101,144],[83,101,144],[80,84,101,144],[84,85,101,144],[80,85,101,144]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"8bf8b5e44e3c9c36f98e1007e8b7018c0f38d8adc07aecef42f5200114547c70","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a12e2a9c82b0d499b7d8d441e79aaa64bcdda87c75bc0aede64bdf94a1a02c63","signature":"d749b8dbf9921fe1d55249cc0ad989f42a99c3c5877db9fe00209b9c51eeb324"},{"version":"77ae8e8e7a9400dc5d27631e5e2be383c630a9bce79c3c093d4fd55d7ad701f8","signature":"ae5cc255244a64329b17ac824c21d95fba4f2ac9e0494ba5183036fd69e51118"},{"version":"be051e803da578354fe25e1376f44575633590bd05326a27e76356d269c7e665","signature":"3ff33e2b99faf792d7e19798df43009d292590fa3620a7786d31ac3ca549d2bb"},{"version":"571820f1599cc5d92936c0e41cf7549ea51c6bd78b0e2668d3ce36e0bc26177d","signature":"7e505e20e150d478c79614dd799a9e13d2909d4649a72bd2b392ef7456af7245"},{"version":"d71505fe2115eda3e8ab47e5feacd4aff262753b99612f4063de984a061e0ac1","signature":"14198a29450b0274d1729f6dd5dfb55612c25ebac72249afdafe02a1b7d42ee7"},{"version":"78a68b5af92da5d7fd277c7ef7fc2797cb14969b0b600bc422bcea875713b910","signature":"3b1d6bedc15dc3064ba285b72da3a3a41d2abf912563e94354f7339a37deb31d"},{"version":"5dd7a55e029b173aa8dfc335390b442e9b5c99e37b2a22ed3260d756fe43871a","signature":"2cbc49266809e364de925a01b96b3c1db89597408867aa115a80fd697ffbefcf"},{"version":"1161f5b73a52c0dd3a8c8916d65ab81e1f94845697a44503e44d8cb66ebac19a","signature":"e7e8fccc087e412e6218439bb8fdcb9a57b0a7e3520a3cbdbefaa01743a49adb"},{"version":"06a37faa5d7a2219df0f6fbcddb9819422faf31c9a2689d5536420329f8f91db","signature":"7d111385030e1ca9c5d93d983f13c8adf7d12ae69e12577f85f28833c7202336"},{"version":"e2c34ee90d5ad3d933a00596867c9f1df3e041902d2a076162aacb047e77fe94","signature":"20e8ae5dcfd464df11effa4e45cb146a3a05f25f2e532462d2fc9b0e1236c41c"},{"version":"46318264a7304c25f099d35eb69911ba8e92492c32da7f310607f842313fd7eb","signature":"ad4e0b61fe8b5979efa855ff1b96e610c635fc30c6876b7334d3ba5f28aef53f"},{"version":"811c222ca02872d41bd1fdcbe243261cb7609f4845778ae95f55d63bc1db01c1","signature":"381793618d50379168538819bbded6e00946e945b84fc3654c82816895b42783"},{"version":"544507d2167ef11b32c4efa3da83b77c1959779e5bed18879b0f693f7c9262de","signature":"947f4d51f95357bcf1364cdaf4b13d75854d0f70b88f6cc235aaf594d46d3168"},{"version":"9a1f202fadc0b2b1b50df595d2974963b791b80162d2ee6a9dba03065eb29dcf","signature":"382f232ce07cc58e2cd115d1e253822ba90280367cec7fe1a747fea2af8f2b60"},{"version":"f717451bdeeea4953c27a39a768dc27c23e552b6d567c409d8c375db090b96cb","signature":"39810a3dc0091ce80a3641d36c0b8bb910facb2683f50273eb2ac5b5ef2a6fd8"},{"version":"eb6a000085bffd7d04579b101abf2bafd46a5256c668b644da7fefee6c3bf595","signature":"25fbb1b61f33172c6d9de40a046c30f58e75495e5c4a5ec2f09d84ceb9f05e3f"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"3b724a66c071d616203133f8d099a0cb881b0b43fd42e8621e611243c5f30cd6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"3fe4022ba1e738034e38ad9afacbf0f1f16b458ed516326f5bf9e4a31e9be1dc","impliedFormat":1},{"version":"a957197054b074bcdf5555d26286e8461680c7c878040d0f4e2d5509a7524944","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f478f6f5902dc144c0d6d7bdc919c5177cac4d17a8ca8653c2daf6d7dc94317f","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"b200675fd112ffef97c166d0341fb33f6e29e9f27660adde7868e95c5bc98beb","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a0a1dda070290b92da5a50113b73ecc4dd6bcbffad66e3c86503d483eafbadcf","impliedFormat":1},{"version":"59dcad36c4549175a25998f6a8b33c1df8e18df9c12ebad1dfb25af13fd4b1ce","impliedFormat":1},{"version":"9ba5b6a30cb7961b68ad4fb18dca148db151c2c23b8d0a260fc18b83399d19d3","impliedFormat":1},{"version":"3f3edb8e44e3b9df3b7ca3219ab539710b6a7f4fe16bd884d441af207e03cd57","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"d71535813e39c23baa113bc4a29a0e187b87d1105ccc8c5a6ebaca38d9a9bff2","impliedFormat":1},{"version":"8cf7e92bdb2862c2d28ba4535c43dc599cfbc0025db5ed9973d9b708dcbe3d98","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a410a7fa4baf13dd45c9bba6d71806027dc0e4e5027cdf74f36466ae9b240b7","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"636302a00dfd1f9fe6e8e91e4e9350c6518dcc8d51a474e4fc3a9ba07135100b","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"e1ce1d622f1e561f6cdf246372ead3bbc07ce0342024d0e9c7caf3136f712698","impliedFormat":1},{"version":"c878f74b6d10b267f6075c51ac1d8becd15b4aa6a58f79c0cfe3b24908357f60","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"27e4532aaaa1665d0dd19023321e4dc12a35a741d6b8e1ca3517fcc2544e0efe","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"8c2ad42d5d1a2e8e6112625767f8794d9537f1247907378543106f7ba6c7df90","affectsGlobalScope":true,"impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"12e8ce658dd17662d82fb0509d2057afc5e6ee30369a2e9e0957eff725b1f11d","affectsGlobalScope":true,"impliedFormat":1},{"version":"74736930d108365d7bbe740c7154706ccfb1b2a3855a897963ab3e5c07ecbf19","impliedFormat":1},{"version":"858f999b3e4a45a4e74766d43030941466460bf8768361d254234d5870480a53","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"63b05afa6121657f25e99e1519596b0826cda026f09372c9100dfe21417f4bd6","affectsGlobalScope":true,"impliedFormat":1},{"version":"3797dd6f4ea3dc15f356f8cdd3128bfa18122213b38a80d6c1f05d8e13cbdad8","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1}],"root":[[80,95]],"options":{"allowImportingTsExtensions":false,"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"importHelpers":true,"jsx":4,"module":99,"noFallthroughCasesInSwitch":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[141,1],[142,1],[143,2],[101,3],[144,4],[145,5],[146,6],[96,7],[99,8],[97,7],[98,7],[147,9],[148,10],[149,11],[150,12],[151,13],[152,14],[153,14],[155,15],[154,16],[156,17],[157,18],[158,19],[140,20],[100,7],[159,21],[160,22],[161,23],[194,24],[162,25],[163,26],[164,27],[165,28],[166,29],[167,30],[168,31],[169,32],[170,33],[171,34],[172,34],[173,35],[174,7],[175,7],[176,36],[178,37],[177,38],[179,39],[180,40],[181,41],[182,42],[183,43],[184,44],[185,45],[186,46],[187,47],[188,48],[189,49],[190,50],[191,51],[192,52],[193,53],[102,7],[78,7],[79,7],[13,7],[15,7],[14,7],[2,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[22,7],[23,7],[3,7],[24,7],[25,7],[4,7],[26,7],[30,7],[27,7],[28,7],[29,7],[31,7],[32,7],[33,7],[5,7],[34,7],[35,7],[36,7],[37,7],[6,7],[41,7],[38,7],[39,7],[40,7],[42,7],[7,7],[43,7],[48,7],[49,7],[44,7],[45,7],[46,7],[47,7],[8,7],[53,7],[50,7],[51,7],[52,7],[54,7],[9,7],[55,7],[56,7],[57,7],[59,7],[58,7],[60,7],[61,7],[10,7],[62,7],[63,7],[64,7],[11,7],[65,7],[66,7],[67,7],[68,7],[69,7],[1,7],[70,7],[71,7],[12,7],[75,7],[73,7],[77,7],[72,7],[76,7],[74,7],[118,54],[128,55],[117,54],[138,56],[109,57],[108,58],[137,59],[131,60],[136,61],[111,62],[125,63],[110,64],[134,65],[106,66],[105,59],[135,67],[107,68],[112,69],[113,7],[116,69],[103,7],[139,70],[129,71],[120,72],[121,73],[123,74],[119,75],[122,76],[132,59],[114,77],[115,78],[124,79],[104,80],[127,71],[126,69],[130,7],[133,81],[82,82],[83,83],[81,84],[80,7],[89,85],[90,86],[87,85],[88,87],[95,88],[93,89],[92,89],[94,89],[91,90],[85,91],[86,92],[84,93]],"latestChangedDtsFile":"./src/index.d.ts","version":"5.8.3"}
package/package.json CHANGED
@@ -1,77 +1,123 @@
1
1
  {
2
2
  "name": "@nhost/nhost-js",
3
- "version": "3.2.8",
3
+ "version": "5.0.0-beta.2",
4
4
  "description": "Nhost JavaScript SDK",
5
- "license": "MIT",
5
+ "main": "./dist/nhost-js.cjs.js",
6
+ "module": "./dist/nhost-js.es.js",
7
+ "types": "./dist/src/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/src/index.d.ts",
11
+ "import": "./dist/nhost-js.es.js",
12
+ "require": "./dist/nhost-js.cjs.js"
13
+ },
14
+ "./auth": {
15
+ "types": "./dist/src/auth/index.d.ts",
16
+ "import": "./dist/nhost-js/auth.es.js",
17
+ "require": "./dist/nhost-js/auth.cjs.js"
18
+ },
19
+ "./storage": {
20
+ "types": "./dist/src/storage/index.d.ts",
21
+ "import": "./dist/nhost-js/storage.es.js",
22
+ "require": "./dist/nhost-js/storage.cjs.js"
23
+ },
24
+ "./functions": {
25
+ "types": "./dist/src/functions/index.d.ts",
26
+ "import": "./dist/nhost-js/functions.es.js",
27
+ "require": "./dist/nhost-js/functions.cjs.js"
28
+ },
29
+ "./graphql": {
30
+ "types": "./dist/src/graphql/index.d.ts",
31
+ "import": "./dist/nhost-js/graphql.es.js",
32
+ "require": "./dist/nhost-js/graphql.cjs.js"
33
+ },
34
+ "./fetch": {
35
+ "types": "./dist/src/fetch/index.d.ts",
36
+ "import": "./dist/nhost-js/fetch.es.js",
37
+ "require": "./dist/nhost-js/fetch.cjs.js"
38
+ }
39
+ },
40
+ "typesVersions": {
41
+ "*": {
42
+ "auth": [
43
+ "dist/src/auth/index.d.ts"
44
+ ],
45
+ "storage": [
46
+ "dist/src/storage/index.d.ts"
47
+ ],
48
+ "functions": [
49
+ "dist/src/functions/index.d.ts"
50
+ ],
51
+ "graphql": [
52
+ "dist/src/graphql/index.d.ts"
53
+ ],
54
+ "fetch": [
55
+ "dist/src/fetch/index.d.ts"
56
+ ]
57
+ }
58
+ },
59
+ "files": [
60
+ "dist"
61
+ ],
62
+ "scripts": {
63
+ "format": "prettier --write .",
64
+ "test": "jest",
65
+ "test:format": "prettier --check .",
66
+ "test:lint": "eslint src --ext .ts,.tsx",
67
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
68
+ "test:typecheck": "tsc --noEmit",
69
+ "test:all": "pnpm audit && pnpm test && pnpm test:format && pnpm test:lint && pnpm test:typecheck",
70
+ "build:types": "tsc -p tsconfig.json",
71
+ "build:js": "vite build --config vite.config.ts && vite build --config vite.umd.config.ts",
72
+ "build": "rm -rf dist && pnpm build:types && pnpm build:js",
73
+ "build:all": "pnpm generate && pnpm build && pnpm docs:markdown",
74
+ "generate": "orval --config build/orval.config.ts",
75
+ "prepublishOnly": "pnpm build:all && pnpm test:all",
76
+ "docs:markdown": "./typedoc.sh"
77
+ },
6
78
  "keywords": [
7
79
  "nhost",
8
- "hasura",
9
- "storage",
10
- "auth",
11
- "authentication",
12
- "graphql",
13
- "postgresql",
14
- "realtime"
80
+ "sdk",
81
+ "api",
82
+ "javascript",
83
+ "typescript"
15
84
  ],
16
85
  "author": "Nhost",
17
- "homepage": "https://nhost.io",
18
- "bugs": "https://github.com/nhost/nhost/issues",
86
+ "license": "MIT",
19
87
  "repository": {
20
88
  "type": "git",
21
- "url": "git+https://github.com/nhost/nhost.git"
89
+ "url": "https://github.com/nhost/nhost.git"
22
90
  },
23
- "main": "dist/index.cjs.js",
24
- "module": "dist/index.esm.js",
25
- "types": "dist/index.d.ts",
26
- "source": "src/index.ts",
27
- "files": [
28
- "dist",
29
- "umd",
30
- "README.md"
31
- ],
32
- "exports": {
33
- "./package.json": "./package.json",
34
- ".": {
35
- "import": {
36
- "types": "./dist/index.d.ts",
37
- "node": "./dist/index.cjs.js",
38
- "default": "./dist/index.esm.js"
39
- },
40
- "require": "./dist/index.cjs.js"
41
- }
42
- },
43
- "publishConfig": {
44
- "access": "public"
91
+ "homepage": "https://nhost.io",
92
+ "bugs": {
93
+ "url": "https://github.com/nhost/nhost/issues"
45
94
  },
46
- "dependencies": {
47
- "isomorphic-unfetch": "^3.1.0",
48
- "@nhost/graphql-js": "0.3.0",
49
- "@nhost/hasura-auth-js": "2.11.1",
50
- "@nhost/hasura-storage-js": "2.7.1"
95
+ "packageManager": "pnpm@10.9.0",
96
+ "engines": {
97
+ "node": ">=20"
51
98
  },
52
99
  "devDependencies": {
53
- "graphql": "16.8.1",
54
- "@nhost/docgen": "0.3.0"
100
+ "@eslint/js": "^9.26.0",
101
+ "@eslint/json": "^0.12.0",
102
+ "@orval/core": "^7.9.0",
103
+ "@rollup/plugin-node-resolve": "^16.0.1",
104
+ "@types/jest": "^29.5.14",
105
+ "@types/node": "^22.15.17",
106
+ "@types/rollup-plugin-peer-deps-external": "^2.2.5",
107
+ "eslint": "^9.26.0",
108
+ "globals": "^16.1.0",
109
+ "jest": "^29.7.0",
110
+ "openapi3-ts": "^4.4.0",
111
+ "orval": "7.9.0",
112
+ "prettier": "^3.5.3",
113
+ "rollup-plugin-peer-deps-external": "^2.2.4",
114
+ "terser": "^5.39.0",
115
+ "ts-jest": "^29.3.2",
116
+ "typedoc": "^0.28.4",
117
+ "typedoc-plugin-markdown": "^4.6.3",
118
+ "typescript-eslint": "^8.32.0",
119
+ "vite": "^6.3.5",
120
+ "vite-plugin-dts": "^4.5.3"
55
121
  },
56
- "peerDependencies": {
57
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
58
- },
59
- "scripts": {
60
- "dev": "vite build --config ../../config/vite.lib.dev.config.js",
61
- "build": "run-p typecheck build:lib build:umd",
62
- "typecheck": "tsc --noEmit",
63
- "build:lib": "vite build",
64
- "build:umd": "vite build --config ../../config/vite.lib.umd.config.js",
65
- "test": "vitest run",
66
- "test:watch": "vitest",
67
- "test:coverage": "vitest run --coverage",
68
- "prettier": "prettier --check src/",
69
- "prettier:fix": "prettier --write src/",
70
- "lint": "eslint . --ext .ts,.tsx",
71
- "lint:fix": "eslint . --ext .ts,.tsx --fix",
72
- "verify": "run-p prettier lint",
73
- "verify:fix": "run-p prettier:fix lint:fix",
74
- "typedoc": "typedoc --options ./nhost-js.typedoc.json --tsconfig ./typedoc.tsconfig.json",
75
- "docgen": "pnpm typedoc && docgen --config ./nhost-js.docgen.json"
76
- }
77
- }
122
+ "sideEffects": false
123
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Nhost
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.
@@ -1,8 +0,0 @@
1
- import { HasuraAuthClient } from '@nhost/hasura-auth-js';
2
- import { NhostClientConstructorParams } from '../utils/types';
3
-
4
- /**
5
- * Creates a client for Auth from either a subdomain or a URL
6
- */
7
- export declare function createAuthClient(params: NhostClientConstructorParams): HasuraAuthClient;
8
- //# sourceMappingURL=auth.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/clients/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAGxD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAE7D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,4BAA4B,oBAcpE"}
@@ -1,107 +0,0 @@
1
- import { NhostClientConstructorParams } from '../../utils/types';
2
- import { NhostFunctionCallConfig, NhostFunctionCallResponse, NhostFunctionsConstructorParams } from './types';
3
-
4
- /**
5
- * Creates a client for Functions from either a subdomain or a URL
6
- */
7
- export declare function createFunctionsClient(params: NhostClientConstructorParams): NhostFunctionsClient;
8
- /**
9
- * @alias Functions
10
- */
11
- export declare class NhostFunctionsClient {
12
- readonly url: string;
13
- private accessToken;
14
- private adminSecret?;
15
- private headers;
16
- constructor(params: NhostFunctionsConstructorParams);
17
- /**
18
- * Use `nhost.functions.call` to call (sending a POST request to) a serverless function. Use generic
19
- * types to specify the expected response data, request body and error message.
20
- *
21
- * @example
22
- * ### Without generic types
23
- * ```ts
24
- * await nhost.functions.call('send-welcome-email', { email: 'joe@example.com', name: 'Joe Doe' })
25
- * ```
26
- *
27
- * @example
28
- * ### Using generic types
29
- * ```ts
30
- * type Data = {
31
- * message: string
32
- * }
33
- *
34
- * type Body = {
35
- * email: string
36
- * name: string
37
- * }
38
- *
39
- * type ErrorMessage = {
40
- * details: string
41
- * }
42
- *
43
- * // The function will only accept a body of type `Body`
44
- * const { res, error } = await nhost.functions.call<Data, Body, ErrorMessage>(
45
- * 'send-welcome-email',
46
- * { email: 'joe@example.com', name: 'Joe Doe' }
47
- * )
48
- *
49
- * // Now the response data is typed as `Data`
50
- * console.log(res?.data.message)
51
- *
52
- * // Now the error message is typed as `ErrorMessage`
53
- * console.log(error?.message.details)
54
- * ```
55
- *
56
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/functions/call
57
- */
58
- call<TData = unknown, TBody = any, TErrorMessage = any>(url: string, body?: TBody | null, config?: NhostFunctionCallConfig): Promise<NhostFunctionCallResponse<TData, TErrorMessage>>;
59
- /**
60
- * Use `nhost.functions.setAccessToken` to a set an access token to be used in subsequent functions requests. Note that if you're signin in users with `nhost.auth.signIn()` the access token will be set automatically.
61
- *
62
- * @example
63
- * ```ts
64
- * nhost.functions.setAccessToken('some-access-token')
65
- * ```
66
- *
67
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/functions/set-access-token
68
- */
69
- setAccessToken(accessToken: string | undefined): void;
70
- /**
71
- * Use `nhost.functions.getHeaders` to get the global headers sent with all functions requests.
72
- *
73
- * @example
74
- * ```ts
75
- * nhost.functions.getHeaders()
76
- * ```
77
- *
78
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/functions/get-headers
79
- */
80
- getHeaders(): Record<string, string>;
81
- /**
82
- * Use `nhost.functions.setHeaders` to a set global headers to be sent in all subsequent functions requests.
83
- *
84
- * @example
85
- * ```ts
86
- * nhost.functions.setHeaders({
87
- * 'x-hasura-role': 'admin'
88
- * })
89
- * ```
90
- *
91
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/functions/set-headers
92
- */
93
- setHeaders(headers?: Record<string, string>): void;
94
- /**
95
- * Use `nhost.functions.unsetHeaders` to a unset global headers sent with all functions requests.
96
- *
97
- * @example
98
- * ```ts
99
- * nhost.functions.unsetHeaders()
100
- * ```
101
- *
102
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/functions/unset-headers
103
- */
104
- unsetHeaders(): void;
105
- generateAccessTokenHeaders(): NhostFunctionCallConfig['headers'];
106
- }
107
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/clients/functions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAChC,MAAM,SAAS,CAAA;AAChB;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,4BAA4B,wBASzE;AAED;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,WAAW,CAAe;IAClC,OAAO,CAAC,WAAW,CAAC,CAAQ;IAC5B,OAAO,CAAC,OAAO,CAA6B;gBAEhC,MAAM,EAAE,+BAA+B;IAQnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACG,IAAI,CAAC,KAAK,GAAG,OAAO,EAAE,KAAK,GAAG,GAAG,EAAE,aAAa,GAAG,GAAG,EAC1D,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,EACnB,MAAM,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,yBAAyB,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IA6D3D;;;;;;;;;OASG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS;IAS9C;;;;;;;;;OASG;IACH,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAIpC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAW3C;;;;;;;;;OASG;IACH,YAAY;IAOZ,0BAA0B,IAAI,uBAAuB,CAAC,SAAS,CAAC;CAajE"}
@@ -1,28 +0,0 @@
1
- import { ErrorPayload } from '../../utils/types';
2
-
3
- export interface NhostFunctionsConstructorParams {
4
- /**
5
- * Serverless Functions endpoint.
6
- */
7
- url: string;
8
- /**
9
- * Admin secret. When set, it is sent as an `x-hasura-admin-secret` header for all requests.
10
- */
11
- adminSecret?: string;
12
- }
13
- export type NhostFunctionCallResponse<TData = unknown, TErrorMessage = any> = {
14
- res: {
15
- data: TData;
16
- status: number;
17
- statusText: string;
18
- };
19
- error: null;
20
- } | {
21
- res: null;
22
- error: ErrorPayload<TErrorMessage>;
23
- };
24
- /** Subset of RequestInit parameters that are supported by the functions client */
25
- export interface NhostFunctionCallConfig {
26
- headers?: Record<string, string>;
27
- }
28
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/clients/functions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,MAAM,yBAAyB,CAAC,KAAK,GAAG,OAAO,EAAE,aAAa,GAAG,GAAG,IACtE;IACE,GAAG,EAAE;QACH,IAAI,EAAE,KAAK,CAAA;QACX,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,KAAK,EAAE,IAAI,CAAA;CACZ,GACD;IACE,GAAG,EAAE,IAAI,CAAA;IACT,KAAK,EAAE,YAAY,CAAC,aAAa,CAAC,CAAA;CACnC,CAAA;AAEL,kFAAkF;AAClF,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC"}
@@ -1,8 +0,0 @@
1
- import { NhostGraphqlClient } from '@nhost/graphql-js';
2
- import { NhostClientConstructorParams } from '../utils/types';
3
-
4
- /**
5
- * Creates a client for GraphQL from either a subdomain or a URL
6
- */
7
- export declare function createGraphqlClient(params: NhostClientConstructorParams): NhostGraphqlClient;
8
- //# sourceMappingURL=graphql.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../src/clients/graphql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAE7D;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,4BAA4B,sBAQvE"}
@@ -1,6 +0,0 @@
1
- export * from './auth';
2
- export * from './functions';
3
- export * from './graphql';
4
- export * from './nhost';
5
- export * from './storage';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA"}
@@ -1,83 +0,0 @@
1
- import { NhostGraphqlClient } from '@nhost/graphql-js';
2
- import { HasuraAuthClient } from '@nhost/hasura-auth-js';
3
- import { HasuraStorageClient } from '@nhost/hasura-storage-js';
4
- import { NhostClientConstructorParams } from '../utils/types';
5
- import { NhostFunctionsClient } from './functions';
6
-
7
- export declare const createNhostClient: (params: NhostClientConstructorParams) => NhostClient;
8
- export declare class NhostClient {
9
- auth: HasuraAuthClient;
10
- storage: HasuraStorageClient;
11
- functions: NhostFunctionsClient;
12
- graphql: NhostGraphqlClient;
13
- private _adminSecret?;
14
- readonly devTools?: boolean;
15
- /**
16
- *
17
- * @example
18
- * ```ts
19
- * // Create a new Nhost client from subdomain and region.
20
- * const nhost = new NhostClient({ subdomain, region });
21
- * ```
22
- *
23
- *
24
- * ```ts
25
- * // Create a new Nhost client from individual service URLs (custom domains, self-hosting, etc).
26
- * const nhost = new NhostClient({
27
- * authUrl: "my-auth-service-url",
28
- * storageUrl: "my-storage-service-url",
29
- * graphqlUrl: "my-graphql-service-url",
30
- * functionsUrl: "my-functions-service-url",
31
- * });
32
- * ```
33
- *
34
- *
35
- * ```ts
36
- * // Create a new Nhost client for local development.
37
- * const nhost = new NhostClient({ subdomain: "local" });
38
- * ```
39
- *
40
- * @docs https://docs.nhost.io/reference/javascript
41
- */
42
- constructor({ refreshIntervalTime, clientStorage, clientStorageType, autoRefreshToken, autoSignIn, adminSecret, devTools, start, ...urlParams }: NhostClientConstructorParams);
43
- get adminSecret(): string | undefined;
44
- set adminSecret(newValue: string | undefined);
45
- /**
46
- * Use `nhost.setRole` to set the user role for all subsequent GraphQL, storage, and functions calls.
47
- * Underneath, this method sets the `x-hasura-role` header on the graphql, storage,
48
- * and functions clients.
49
- *
50
- * ```ts
51
- * nhost.graphql.setHeaders({ 'x-hasura-role': role })
52
- * nhost.storage.setHeaders({ 'x-hasura-role': role })
53
- * nhost.functions.setHeaders({ 'x-hasura-role': role })
54
- * ```
55
- *
56
- * Note: Exercise caution when mixing the use of `setRole` along with `setHeaders` when setting the
57
- * `x-hasura-role` header, as the last call will override any previous ones.
58
- *
59
- * @example
60
- * ```ts
61
- * nhost.setRole('admin')
62
- * ```
63
- *
64
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/set-role
65
- */
66
- setRole(role: string): void;
67
- /**
68
- * Use `nhost.unsetRole` to unset the user role for all subsequent graphql, storage and functions calls.
69
- * Underneath, this method removes the `x-hasura-role` header from the graphql, storage and functions clients.
70
- *
71
- * Note: Exercise caution when mixing the use of `unsetRole` along with `setHeaders` when setting the
72
- * `x-hasura-role` header, as the last call will override any previous ones.
73
- *
74
- * @example
75
- * ```ts
76
- * nhost.unsetRole()
77
- * ```
78
- *
79
- * @docs https://docs.nhost.io/reference/javascript/nhost-js/unset-role
80
- */
81
- unsetRole(): void;
82
- }
83
- //# sourceMappingURL=nhost.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nhost.d.ts","sourceRoot":"","sources":["../../src/clients/nhost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAyB,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAIzE,eAAO,MAAM,iBAAiB,WAAY,4BAA4B,gBAA4B,CAAA;AAElG,qBAAa,WAAW;IACtB,IAAI,EAAE,gBAAgB,CAAA;IACtB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,SAAS,EAAE,oBAAoB,CAAA;IAC/B,OAAO,EAAE,kBAAkB,CAAA;IAC3B,OAAO,CAAC,YAAY,CAAC,CAAQ;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAE3B;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;gBACS,EACV,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,KAAY,EACZ,GAAG,SAAS,EACb,EAAE,4BAA4B;IA0C/B,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,IAAI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAM3C;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM;IAMpB;;;;;;;;;;;;;OAaG;IACH,SAAS;CAOV"}
@@ -1,8 +0,0 @@
1
- import { HasuraStorageClient } from '@nhost/hasura-storage-js';
2
- import { NhostClientConstructorParams } from '../utils/types';
3
-
4
- /**
5
- * Creates a client for Storage from either a subdomain or a URL
6
- */
7
- export declare function createStorageClient(params: NhostClientConstructorParams): HasuraStorageClient;
8
- //# sourceMappingURL=storage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/clients/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAG9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAE7D;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,4BAA4B,uBAQvE"}