You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2025. It is now read-only.
<!-- End Standalone functions [standalone-funcs] -->
@@ -303,11 +303,11 @@ const unkey = new Unkey({
303
303
});
304
304
305
305
asyncfunction run() {
306
-
const result =awaitunkey.ratelimit.v1RatelimitLimit({
306
+
const result =awaitunkey.ratelimit.limit({
307
307
namespace: "sms.sign_up",
308
-
duration: 455106,
308
+
duration: 711276,
309
309
identifier: "<value>",
310
-
limit: 568662,
310
+
limit: 581877,
311
311
}, {
312
312
retries: {
313
313
strategy: "backoff",
@@ -348,11 +348,11 @@ const unkey = new Unkey({
348
348
});
349
349
350
350
asyncfunction run() {
351
-
const result =awaitunkey.ratelimit.v1RatelimitLimit({
351
+
const result =awaitunkey.ratelimit.limit({
352
352
namespace: "sms.sign_up",
353
-
duration: 455106,
353
+
duration: 711276,
354
354
identifier: "<value>",
355
-
limit: 568662,
355
+
limit: 581877,
356
356
});
357
357
358
358
// Handle the result
@@ -367,7 +367,7 @@ run();
367
367
<!-- Start Error Handling [errors] -->
368
368
## Error Handling
369
369
370
-
Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `v1RatelimitLimit` method may throw the following errors:
370
+
Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `limit` method may throw the following errors:
0 commit comments