From dfd5e51f9be1594bf62ab0205ed28156e9919f2f Mon Sep 17 00:00:00 2001 From: Kwangsoo Yeo Date: Wed, 24 Jan 2024 13:42:15 -0800 Subject: [PATCH] increase file page cap --- package.json | 2 +- src/pv_file_idb.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 57e5886..b3d9080 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@picovoice/web-utils", - "version": "1.3.3", + "version": "1.3.4", "description": "Picovoice web utility functions", "author": "Picovoice", "license": "Apache-2.0", diff --git a/src/pv_file_idb.ts b/src/pv_file_idb.ts index 85bba57..034c2db 100644 --- a/src/pv_file_idb.ts +++ b/src/pv_file_idb.ts @@ -355,7 +355,7 @@ export class PvFileIDB extends PvFile { * @param page The page number to format. */ private static createPage(page: number) { - return ("000" + page).slice(-4); + return ("00000" + page).slice(-6); } /**