@junobuild/errors 0.2.1 → 0.2.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.
@@ -1,2 +1,2 @@
1
- import{a as _}from"./chunk-VSLSQUON.js";var o="juno.cdn.proposals.error.cannot_submit",r="juno.cdn.proposals.error.cannot_submit_invalid_status",e="juno.cdn.proposals.error.cannot_reject",R="juno.cdn.proposals.error.cannot_reject_invalid_status",t="juno.cdn.proposals.error.cannot_commit",O="juno.cdn.proposals.error.cannot_commit_invalid_status",n="juno.cdn.proposals.error.invalid_hash",E="juno.cdn.proposals.error.unknown_type",N="juno.cdn.proposals.error.empty_content_chunks",s="juno.cdn.proposals.error.no_content_chunks_at_index",a="juno.cdn.proposals.error.empty_assets",A="juno.cdn.proposals.error.cannot_delete_assets",c="juno.cdn.proposals.error.cannot_delete_assets_invalid_status",T="juno.cdn.proposals.error.next_id_convert",S="juno.cdn.proposals.error.next_id_overflow",u="juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id",p="juno.cdn.storage.error.cannot_get_asset_unknown_reference_id",U="juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id",L="juno.cdn.storage.error.no_proposal_found",d="juno.cdn.storage.error.invalid_releases_path",l="juno.cdn.storage.error.missing_releases_description",D="juno.cdn.storage.error.invalid_releases_description",I="juno.cdn.storage.error.invalid_collection";var C="juno.collections.error.modify_reserved_collection",x="juno.collections.error.reserved_name",j="juno.collections.error.reserved_collection",J="juno.collections.error.rate_config_enabled",P="juno.collections.error.prefix_deletion",m="juno.collections.error.not_empty",M="juno.collections.error.not_found",g="juno.collections.error.prefix_reserved";var G="juno.error.no_timestamp_provided",f="juno.error.timestamp_outdated_or_future",V="juno.error.no_version_provided",v="juno.error.version_outdated_or_future",H="juno.datastore.error.cannot_write",F="juno.datastore.error.cannot_read",w="juno.storage.error.upload_not_allowed",W="juno.storage.error.set_not_allowed",b="juno.storage.error.cannot_commit_invalid_collection",y="juno.storage.error.cannot_commit_batch",B="juno.storage.error.asset_not_found",Y="juno.storage.error.cannot_read_asset",k="juno.storage.error.upload_path_collection_prefix",K="juno.storage.error.reserved_asset",X="juno.storage.error.batch_not_found",z="juno.storage.error.chunk_not_found",Z="juno.storage.error.chunk_not_included_in_batch",q="juno.storage.error.chunk_to_commit_not_found",Q="juno.storage.error.asset_max_allowed_size",$="juno.auth.error.not_admin_controller",__="juno.auth.error.invalid_origin",o_="juno.auth.error.not_write_controller",r_="juno.auth.error.not_controller",e_="juno.auth.error.caller.not_allowed",R_="juno.auth.error.not_configured",t_="juno.auth.error.openid_disabled",O_="juno.datastore.error.user.cannot_update",n_="juno.datastore.error.user.invalid_data",E_="juno.datastore.error.user.caller_key",N_="juno.datastore.error.user.key_no_principal",s_="juno.datastore.error.user.not_allowed",a_="juno.datastore.error.user.webauthn.aaguid_invalid_length",A_="juno.datastore.error.user.webauthn.provider_invalid_data",c_="juno.datastore.error.user.webauthn.provider_webauthn_invalid_data",T_="juno.datastore.error.user.register.provider_invalid_data",S_="juno.auth.error.profile.data.email_invalid_length",u_="juno.auth.error.profile.data.name_invalid_length",p_="juno.auth.error.profile.data.given_name_invalid_length",U_="juno.auth.error.profile.data.family_name_invalid_length",L_="juno.auth.error.profile.data.preferred_username_invalid_length",d_="juno.auth.error.profile.data.locale_invalid_length",l_="juno.auth.error.profile.data.picture_invalid_url",D_="juno.auth.error.profile.data.picture_invalid_scheme",I_="juno.datastore.error.user.usage.change_limit_reached",i_="juno.datastore.error.user.usage.invalid_data",C_="juno.datastore.error.user.webauthn.cannot_update",x_="juno.datastore.error.user.webauthn.invalid_data",j_="juno.datastore.error.user.webauthn.caller_key";var P_="juno.error.controllers.max_number",m_="juno.error.controllers.anonymous_not_allowed",M_="juno.error.controllers.revoked_not_allowed",g_="juno.error.memory.stable_exceeded",h_="juno.error.memory.heap_exceeded",G_="juno.error.cycles.deposit_balance_low",f_="juno.error.cycles.deposit_failed",V_="juno.error.canister.create_failed",v_="juno.error.canister.install_code_failed",H_="juno.error.segment.stop_failed",F_="juno.error.segment.delete_failed",w_="juno.error.cmc.call_ledger_failed",W_="juno.error.cmc.ledger_transfer_failed",b_="juno.error.cmc.call_create_canister_failed",y_="juno.error.cmc.create_canister_failed",B_="juno.error.cmc.install_code_failed",Y_="juno.error.invalid_regex";export{e_ as JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED,__ as JUNO_AUTH_ERROR_INVALID_ORIGIN,$ as JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER,R_ as JUNO_AUTH_ERROR_NOT_CONFIGURED,r_ as JUNO_AUTH_ERROR_NOT_CONTROLLER,o_ as JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER,t_ as JUNO_AUTH_ERROR_OPENID_DISABLED,S_ as JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH,U_ as JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH,p_ as JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH,d_ as JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH,u_ as JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH,D_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME,l_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL,L_ as JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH,t as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT,O as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS,A as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS,c as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS,e as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT,R as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS,o as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT,r as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS,a as JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS,N as JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS,n as JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH,T as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT,S as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW,s as JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX,E as JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE,p as JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID,U as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID,u as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID,I as JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION,D as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION,d as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH,l as JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION,L as JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND,m as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY,M as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND,P as JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED,C as JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION,g as JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED,J as JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED,j as JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION,x as JUNO_COLLECTIONS_ERROR_RESERVED_NAME,F as JUNO_DATASTORE_ERROR_CANNOT_READ,H as JUNO_DATASTORE_ERROR_CANNOT_WRITE,a_ as JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH,E_ as JUNO_DATASTORE_ERROR_USER_CALLER_KEY,O_ as JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE,n_ as JUNO_DATASTORE_ERROR_USER_INVALID_DATA,N_ as JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL,s_ as JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED,A_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA,c_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA,T_ as JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA,I_ as JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED,i_ as JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA,j_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY,C_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE,x_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA,V_ as JUNO_ERROR_CANISTER_CREATE_FAILED,v_ as JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED,b_ as JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED,w_ as JUNO_ERROR_CMC_CALL_LEDGER_FAILED,y_ as JUNO_ERROR_CMC_CREATE_CANISTER_FAILED,B_ as JUNO_ERROR_CMC_INSTALL_CODE_FAILED,W_ as JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED,m_ as JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED,P_ as JUNO_ERROR_CONTROLLERS_MAX_NUMBER,M_ as JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED,G_ as JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW,f_ as JUNO_ERROR_CYCLES_DEPOSIT_FAILED,Y_ as JUNO_ERROR_INVALID_REGEX,h_ as JUNO_ERROR_MEMORY_HEAP_EXCEEDED,g_ as JUNO_ERROR_MEMORY_STABLE_EXCEEDED,G as JUNO_ERROR_NO_TIMESTAMP_PROVIDED,V as JUNO_ERROR_NO_VERSION_PROVIDED,F_ as JUNO_ERROR_SEGMENT_DELETE_FAILED,H_ as JUNO_ERROR_SEGMENT_STOP_FAILED,f as JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE,v as JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE,Q as JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE,B as JUNO_STORAGE_ERROR_ASSET_NOT_FOUND,X as JUNO_STORAGE_ERROR_BATCH_NOT_FOUND,y as JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH,b as JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION,Y as JUNO_STORAGE_ERROR_CANNOT_READ_ASSET,z as JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND,Z as JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH,q as JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND,K as JUNO_STORAGE_ERROR_RESERVED_ASSET,W as JUNO_STORAGE_ERROR_SET_NOT_ALLOWED,w as JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED,k as JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX,_ as isSatelliteError};
1
+ import{a as _}from"./chunk-VSLSQUON.js";var o="juno.cdn.proposals.error.cannot_submit",r="juno.cdn.proposals.error.cannot_submit_invalid_status",e="juno.cdn.proposals.error.cannot_reject",R="juno.cdn.proposals.error.cannot_reject_invalid_status",t="juno.cdn.proposals.error.cannot_commit",O="juno.cdn.proposals.error.cannot_commit_invalid_status",n="juno.cdn.proposals.error.invalid_hash",E="juno.cdn.proposals.error.unknown_type",N="juno.cdn.proposals.error.empty_content_chunks",s="juno.cdn.proposals.error.no_content_chunks_at_index",a="juno.cdn.proposals.error.empty_assets",c="juno.cdn.proposals.error.cannot_delete_assets",A="juno.cdn.proposals.error.cannot_delete_assets_invalid_status",T="juno.cdn.proposals.error.next_id_convert",p="juno.cdn.proposals.error.next_id_overflow",S="juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id",u="juno.cdn.storage.error.cannot_get_asset_unknown_reference_id",U="juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id",L="juno.cdn.storage.error.no_proposal_found",l="juno.cdn.storage.error.invalid_releases_path",d="juno.cdn.storage.error.missing_releases_description",I="juno.cdn.storage.error.invalid_releases_description",i="juno.cdn.storage.error.invalid_collection";var C="juno.collections.error.modify_reserved_collection",x="juno.collections.error.reserved_name",j="juno.collections.error.reserved_collection",J="juno.collections.error.rate_config_enabled",P="juno.collections.error.prefix_deletion",m="juno.collections.error.not_empty",M="juno.collections.error.not_found",g="juno.collections.error.prefix_reserved";var G="juno.error.no_timestamp_provided",f="juno.error.timestamp_outdated_or_future",V="juno.error.no_version_provided",v="juno.error.version_outdated_or_future",H="juno.datastore.error.cannot_write",F="juno.datastore.error.cannot_read",w="juno.storage.error.upload_not_allowed",W="juno.storage.error.set_not_allowed",b="juno.storage.error.cannot_commit_invalid_collection",Y="juno.storage.error.cannot_commit_batch",y="juno.storage.error.asset_not_found",B="juno.storage.error.cannot_read_asset",k="juno.storage.error.upload_path_collection_prefix",K="juno.storage.error.reserved_asset",X="juno.storage.error.batch_not_found",z="juno.storage.error.chunk_not_found",Z="juno.storage.error.chunk_not_included_in_batch",q="juno.storage.error.chunk_to_commit_not_found",Q="juno.storage.error.asset_max_allowed_size",$="juno.auth.error.not_admin_controller",__="juno.auth.error.invalid_origin",o_="juno.auth.error.not_write_controller",r_="juno.auth.error.not_controller",e_="juno.auth.error.caller.not_allowed",R_="juno.auth.error.not_configured",t_="juno.auth.error.openid_disabled",O_="juno.datastore.error.user.cannot_update",n_="juno.datastore.error.user.invalid_data",E_="juno.datastore.error.user.caller_key",N_="juno.datastore.error.user.key_no_principal",s_="juno.datastore.error.user.not_allowed",a_="juno.datastore.error.user.webauthn.aaguid_invalid_length",c_="juno.datastore.error.user.webauthn.provider_invalid_data",A_="juno.datastore.error.user.webauthn.provider_webauthn_invalid_data",T_="juno.datastore.error.user.register.provider_invalid_data",p_="juno.auth.error.profile.data.email_invalid_length",S_="juno.auth.error.profile.data.name_invalid_length",u_="juno.auth.error.profile.data.given_name_invalid_length",U_="juno.auth.error.profile.data.family_name_invalid_length",L_="juno.auth.error.profile.data.preferred_username_invalid_length",l_="juno.auth.error.profile.data.locale_invalid_length",d_="juno.auth.error.profile.data.picture_invalid_url",I_="juno.auth.error.profile.data.picture_invalid_scheme",i_="juno.datastore.error.user.usage.change_limit_reached",D_="juno.datastore.error.user.usage.invalid_data",C_="juno.datastore.error.user.webauthn.cannot_update",x_="juno.datastore.error.user.webauthn.invalid_data",j_="juno.datastore.error.user.webauthn.caller_key";var P_="juno.error.controllers.max_number",m_="juno.error.controllers.anonymous_not_allowed",M_="juno.error.controllers.revoked_not_allowed",g_="juno.error.controllers.admin_no_expire",h_="juno.error.controllers.expiry_in_past",G_="juno.error.memory.stable_exceeded",f_="juno.error.memory.heap_exceeded",V_="juno.error.cycles.deposit_balance_low",v_="juno.error.cycles.deposit_failed",H_="juno.error.canister.create_failed",F_="juno.error.canister.install_code_failed",w_="juno.error.segment.stop_failed",W_="juno.error.segment.delete_failed",b_="juno.error.cmc.call_ledger_failed",Y_="juno.error.cmc.ledger_transfer_failed",y_="juno.error.cmc.call_create_canister_failed",B_="juno.error.cmc.create_canister_failed",k_="juno.error.cmc.install_code_failed",K_="juno.error.invalid_regex";export{e_ as JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED,__ as JUNO_AUTH_ERROR_INVALID_ORIGIN,$ as JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER,R_ as JUNO_AUTH_ERROR_NOT_CONFIGURED,r_ as JUNO_AUTH_ERROR_NOT_CONTROLLER,o_ as JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER,t_ as JUNO_AUTH_ERROR_OPENID_DISABLED,p_ as JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH,U_ as JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH,u_ as JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH,l_ as JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH,S_ as JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH,I_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME,d_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL,L_ as JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH,t as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT,O as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS,c as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS,A as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS,e as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT,R as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS,o as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT,r as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS,a as JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS,N as JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS,n as JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH,T as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT,p as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW,s as JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX,E as JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE,u as JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID,U as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID,S as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID,i as JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION,I as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION,l as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH,d as JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION,L as JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND,m as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY,M as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND,P as JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED,C as JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION,g as JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED,J as JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED,j as JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION,x as JUNO_COLLECTIONS_ERROR_RESERVED_NAME,F as JUNO_DATASTORE_ERROR_CANNOT_READ,H as JUNO_DATASTORE_ERROR_CANNOT_WRITE,a_ as JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH,E_ as JUNO_DATASTORE_ERROR_USER_CALLER_KEY,O_ as JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE,n_ as JUNO_DATASTORE_ERROR_USER_INVALID_DATA,N_ as JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL,s_ as JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED,c_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA,A_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA,T_ as JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA,i_ as JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED,D_ as JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA,j_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY,C_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE,x_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA,H_ as JUNO_ERROR_CANISTER_CREATE_FAILED,F_ as JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED,y_ as JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED,b_ as JUNO_ERROR_CMC_CALL_LEDGER_FAILED,B_ as JUNO_ERROR_CMC_CREATE_CANISTER_FAILED,k_ as JUNO_ERROR_CMC_INSTALL_CODE_FAILED,Y_ as JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED,g_ as JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY,m_ as JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED,h_ as JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST,P_ as JUNO_ERROR_CONTROLLERS_MAX_NUMBER,M_ as JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED,V_ as JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW,v_ as JUNO_ERROR_CYCLES_DEPOSIT_FAILED,K_ as JUNO_ERROR_INVALID_REGEX,f_ as JUNO_ERROR_MEMORY_HEAP_EXCEEDED,G_ as JUNO_ERROR_MEMORY_STABLE_EXCEEDED,G as JUNO_ERROR_NO_TIMESTAMP_PROVIDED,V as JUNO_ERROR_NO_VERSION_PROVIDED,W_ as JUNO_ERROR_SEGMENT_DELETE_FAILED,w_ as JUNO_ERROR_SEGMENT_STOP_FAILED,f as JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE,v as JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE,Q as JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE,y as JUNO_STORAGE_ERROR_ASSET_NOT_FOUND,X as JUNO_STORAGE_ERROR_BATCH_NOT_FOUND,Y as JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH,b as JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION,B as JUNO_STORAGE_ERROR_CANNOT_READ_ASSET,z as JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND,Z as JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH,q as JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND,K as JUNO_STORAGE_ERROR_RESERVED_ASSET,W as JUNO_STORAGE_ERROR_SET_NOT_ALLOWED,w as JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED,k as JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX,_ as isSatelliteError};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/cdn.constants.ts", "../../src/constants/collections.constants.ts", "../../src/constants/satellite.constants.ts", "../../src/constants/shared.constants.ts"],
4
- "sourcesContent": ["export const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT = 'juno.cdn.proposals.error.cannot_submit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_submit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT = 'juno.cdn.proposals.error.cannot_reject';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_reject_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT = 'juno.cdn.proposals.error.cannot_commit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_commit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH = 'juno.cdn.proposals.error.invalid_hash';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE = 'juno.cdn.proposals.error.unknown_type';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS =\n 'juno.cdn.proposals.error.empty_content_chunks';\nexport const JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX =\n 'juno.cdn.proposals.error.no_content_chunks_at_index';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS = 'juno.cdn.proposals.error.empty_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS =\n 'juno.cdn.proposals.error.cannot_delete_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_delete_assets_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT = 'juno.cdn.proposals.error.next_id_convert';\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW =\n 'juno.cdn.proposals.error.next_id_overflow';\n\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_get_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id';\n\nexport const JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND = 'juno.cdn.storage.error.no_proposal_found';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH =\n 'juno.cdn.storage.error.invalid_releases_path';\n\nexport const JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.missing_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.invalid_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION =\n 'juno.cdn.storage.error.invalid_collection';\n", "export const JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION =\n 'juno.collections.error.modify_reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_NAME = 'juno.collections.error.reserved_name';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION =\n 'juno.collections.error.reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED =\n 'juno.collections.error.rate_config_enabled';\nexport const JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED =\n 'juno.collections.error.prefix_deletion';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY = 'juno.collections.error.not_empty';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND = 'juno.collections.error.not_found';\nexport const JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED = 'juno.collections.error.prefix_reserved';\n", "export const JUNO_ERROR_NO_TIMESTAMP_PROVIDED = 'juno.error.no_timestamp_provided';\nexport const JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE = 'juno.error.timestamp_outdated_or_future';\nexport const JUNO_ERROR_NO_VERSION_PROVIDED = 'juno.error.no_version_provided';\nexport const JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE = 'juno.error.version_outdated_or_future';\n\nexport const JUNO_DATASTORE_ERROR_CANNOT_WRITE = 'juno.datastore.error.cannot_write';\nexport const JUNO_DATASTORE_ERROR_CANNOT_READ = 'juno.datastore.error.cannot_read';\n\nexport const JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED = 'juno.storage.error.upload_not_allowed';\nexport const JUNO_STORAGE_ERROR_SET_NOT_ALLOWED = 'juno.storage.error.set_not_allowed';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION =\n 'juno.storage.error.cannot_commit_invalid_collection';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH = 'juno.storage.error.cannot_commit_batch';\nexport const JUNO_STORAGE_ERROR_ASSET_NOT_FOUND = 'juno.storage.error.asset_not_found';\nexport const JUNO_STORAGE_ERROR_CANNOT_READ_ASSET = 'juno.storage.error.cannot_read_asset';\nexport const JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX =\n 'juno.storage.error.upload_path_collection_prefix';\nexport const JUNO_STORAGE_ERROR_RESERVED_ASSET = 'juno.storage.error.reserved_asset';\nexport const JUNO_STORAGE_ERROR_BATCH_NOT_FOUND = 'juno.storage.error.batch_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND = 'juno.storage.error.chunk_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH =\n 'juno.storage.error.chunk_not_included_in_batch';\nexport const JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND =\n 'juno.storage.error.chunk_to_commit_not_found';\nexport const JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE =\n 'juno.storage.error.asset_max_allowed_size';\n\nexport const JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER = 'juno.auth.error.not_admin_controller';\nexport const JUNO_AUTH_ERROR_INVALID_ORIGIN = 'juno.auth.error.invalid_origin';\nexport const JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER = 'juno.auth.error.not_write_controller';\nexport const JUNO_AUTH_ERROR_NOT_CONTROLLER = 'juno.auth.error.not_controller';\nexport const JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED = 'juno.auth.error.caller.not_allowed';\nexport const JUNO_AUTH_ERROR_NOT_CONFIGURED = 'juno.auth.error.not_configured';\nexport const JUNO_AUTH_ERROR_OPENID_DISABLED = 'juno.auth.error.openid_disabled';\n\nexport const JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE = 'juno.datastore.error.user.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_INVALID_DATA = 'juno.datastore.error.user.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_CALLER_KEY = 'juno.datastore.error.user.caller_key';\nexport const JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL =\n 'juno.datastore.error.user.key_no_principal';\nexport const JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED = 'juno.datastore.error.user.not_allowed';\nexport const JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH =\n 'juno.datastore.error.user.webauthn.aaguid_invalid_length';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_webauthn_invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.register.provider_invalid_data';\n\nexport const JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH =\n 'juno.auth.error.profile.data.email_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.given_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.family_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.preferred_username_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH =\n 'juno.auth.error.profile.data.locale_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL =\n 'juno.auth.error.profile.data.picture_invalid_url';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME =\n 'juno.auth.error.profile.data.picture_invalid_scheme';\n\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED =\n 'juno.datastore.error.user.usage.change_limit_reached';\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA =\n 'juno.datastore.error.user.usage.invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE =\n 'juno.datastore.error.user.webauthn.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY =\n 'juno.datastore.error.user.webauthn.caller_key';\n", "export const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = 'juno.error.controllers.max_number';\nexport const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED =\n 'juno.error.controllers.anonymous_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED =\n 'juno.error.controllers.revoked_not_allowed';\n\nexport const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = 'juno.error.memory.stable_exceeded';\nexport const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = 'juno.error.memory.heap_exceeded';\n\nexport const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = 'juno.error.cycles.deposit_balance_low';\nexport const JUNO_ERROR_CYCLES_DEPOSIT_FAILED = 'juno.error.cycles.deposit_failed';\n\nexport const JUNO_ERROR_CANISTER_CREATE_FAILED = 'juno.error.canister.create_failed';\nexport const JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED = 'juno.error.canister.install_code_failed';\n\nexport const JUNO_ERROR_SEGMENT_STOP_FAILED = 'juno.error.segment.stop_failed';\nexport const JUNO_ERROR_SEGMENT_DELETE_FAILED = 'juno.error.segment.delete_failed';\n\nexport const JUNO_ERROR_CMC_CALL_LEDGER_FAILED = 'juno.error.cmc.call_ledger_failed';\nexport const JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED = 'juno.error.cmc.ledger_transfer_failed';\nexport const JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED =\n 'juno.error.cmc.call_create_canister_failed';\nexport const JUNO_ERROR_CMC_CREATE_CANISTER_FAILED = 'juno.error.cmc.create_canister_failed';\nexport const JUNO_ERROR_CMC_INSTALL_CODE_FAILED = 'juno.error.cmc.install_code_failed';\n\nexport const JUNO_ERROR_INVALID_REGEX = 'juno.error.invalid_regex';\n"],
5
- "mappings": "wCAAO,IAAMA,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAwC,wCAExCC,EAAwC,wCAExCC,EACX,gDACWC,EACX,sDAEWC,EAAwC,wCACxCC,EACX,gDACWC,EACX,+DAEWC,EAA2C,2CAC3CC,EACX,4CAEWC,EACX,kEACWC,EACX,+DACWC,EACX,2EAEWC,EAA2C,2CAE3CC,EACX,+CAEWC,EACX,sDAEWC,EACX,sDAEWC,EACX,4CClDK,IAAMC,EACX,oDACWC,EAAuC,uCACvCC,EACX,6CACWC,EACX,6CACWC,EACX,yCACWC,EAA8C,mCAC9CC,EAA8C,mCAC9CC,EAAyC,yCCX/C,IAAMC,EAAmC,mCACnCC,EAA0C,0CAC1CC,EAAiC,iCACjCC,EAAwC,wCAExCC,EAAoC,oCACpCC,EAAmC,mCAEnCC,EAAwC,wCACxCC,EAAqC,qCACrCC,EACX,sDACWC,EAAyC,yCACzCC,EAAqC,qCACrCC,EAAuC,uCACvCC,EACX,mDACWC,EAAoC,oCACpCC,EAAqC,qCACrCC,EAAqC,qCACrCC,EACX,iDACWC,EACX,+CACWC,EACX,4CAEWC,EAAuC,uCACvCC,GAAiC,iCACjCC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAqC,qCACrCC,GAAiC,iCACjCC,GAAkC,kCAElCC,GAA0C,0CAC1CC,GAAyC,yCACzCC,GAAuC,uCACvCC,GACX,6CACWC,GAAwC,wCACxCC,GACX,2DACWC,GACX,2DACWC,GACX,oEAEWC,GACX,2DAEWC,GACX,oDACWC,GACX,mDACWC,GACX,yDACWC,GACX,0DACWC,GACX,iEACWC,GACX,qDACWC,GACX,mDACWC,GACX,sDAEWC,GACX,uDACWC,GACX,+CAEWC,GACX,mDACWC,GACX,kDACWC,GACX,gDC9EK,IAAMC,GAAoC,oCACpCC,GACX,+CACWC,GACX,6CAEWC,GAAoC,oCACpCC,GAAkC,kCAElCC,GAAwC,wCACxCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAA0C,0CAE1CC,GAAiC,iCACjCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAAwC,wCACxCC,GACX,6CACWC,GAAwC,wCACxCC,GAAqC,qCAErCC,GAA2B",
6
- "names": ["JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH", "JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS", "JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH", "JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION", "JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RESERVED_NAME", "JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED", "JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND", "JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED", "JUNO_ERROR_NO_TIMESTAMP_PROVIDED", "JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE", "JUNO_ERROR_NO_VERSION_PROVIDED", "JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE", "JUNO_DATASTORE_ERROR_CANNOT_WRITE", "JUNO_DATASTORE_ERROR_CANNOT_READ", "JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED", "JUNO_STORAGE_ERROR_SET_NOT_ALLOWED", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH", "JUNO_STORAGE_ERROR_ASSET_NOT_FOUND", "JUNO_STORAGE_ERROR_CANNOT_READ_ASSET", "JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX", "JUNO_STORAGE_ERROR_RESERVED_ASSET", "JUNO_STORAGE_ERROR_BATCH_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH", "JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND", "JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE", "JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER", "JUNO_AUTH_ERROR_INVALID_ORIGIN", "JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER", "JUNO_AUTH_ERROR_NOT_CONTROLLER", "JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED", "JUNO_AUTH_ERROR_NOT_CONFIGURED", "JUNO_AUTH_ERROR_OPENID_DISABLED", "JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_CALLER_KEY", "JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL", "JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED", "JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH", "JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA", "JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME", "JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED", "JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY", "JUNO_ERROR_CONTROLLERS_MAX_NUMBER", "JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED", "JUNO_ERROR_MEMORY_STABLE_EXCEEDED", "JUNO_ERROR_MEMORY_HEAP_EXCEEDED", "JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW", "JUNO_ERROR_CYCLES_DEPOSIT_FAILED", "JUNO_ERROR_CANISTER_CREATE_FAILED", "JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED", "JUNO_ERROR_SEGMENT_STOP_FAILED", "JUNO_ERROR_SEGMENT_DELETE_FAILED", "JUNO_ERROR_CMC_CALL_LEDGER_FAILED", "JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED", "JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_INSTALL_CODE_FAILED", "JUNO_ERROR_INVALID_REGEX"]
4
+ "sourcesContent": ["export const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT = 'juno.cdn.proposals.error.cannot_submit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_submit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT = 'juno.cdn.proposals.error.cannot_reject';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_reject_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT = 'juno.cdn.proposals.error.cannot_commit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_commit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH = 'juno.cdn.proposals.error.invalid_hash';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE = 'juno.cdn.proposals.error.unknown_type';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS =\n 'juno.cdn.proposals.error.empty_content_chunks';\nexport const JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX =\n 'juno.cdn.proposals.error.no_content_chunks_at_index';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS = 'juno.cdn.proposals.error.empty_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS =\n 'juno.cdn.proposals.error.cannot_delete_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_delete_assets_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT = 'juno.cdn.proposals.error.next_id_convert';\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW =\n 'juno.cdn.proposals.error.next_id_overflow';\n\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_get_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id';\n\nexport const JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND = 'juno.cdn.storage.error.no_proposal_found';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH =\n 'juno.cdn.storage.error.invalid_releases_path';\n\nexport const JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.missing_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.invalid_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION =\n 'juno.cdn.storage.error.invalid_collection';\n", "export const JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION =\n 'juno.collections.error.modify_reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_NAME = 'juno.collections.error.reserved_name';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION =\n 'juno.collections.error.reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED =\n 'juno.collections.error.rate_config_enabled';\nexport const JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED =\n 'juno.collections.error.prefix_deletion';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY = 'juno.collections.error.not_empty';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND = 'juno.collections.error.not_found';\nexport const JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED = 'juno.collections.error.prefix_reserved';\n", "export const JUNO_ERROR_NO_TIMESTAMP_PROVIDED = 'juno.error.no_timestamp_provided';\nexport const JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE = 'juno.error.timestamp_outdated_or_future';\nexport const JUNO_ERROR_NO_VERSION_PROVIDED = 'juno.error.no_version_provided';\nexport const JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE = 'juno.error.version_outdated_or_future';\n\nexport const JUNO_DATASTORE_ERROR_CANNOT_WRITE = 'juno.datastore.error.cannot_write';\nexport const JUNO_DATASTORE_ERROR_CANNOT_READ = 'juno.datastore.error.cannot_read';\n\nexport const JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED = 'juno.storage.error.upload_not_allowed';\nexport const JUNO_STORAGE_ERROR_SET_NOT_ALLOWED = 'juno.storage.error.set_not_allowed';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION =\n 'juno.storage.error.cannot_commit_invalid_collection';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH = 'juno.storage.error.cannot_commit_batch';\nexport const JUNO_STORAGE_ERROR_ASSET_NOT_FOUND = 'juno.storage.error.asset_not_found';\nexport const JUNO_STORAGE_ERROR_CANNOT_READ_ASSET = 'juno.storage.error.cannot_read_asset';\nexport const JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX =\n 'juno.storage.error.upload_path_collection_prefix';\nexport const JUNO_STORAGE_ERROR_RESERVED_ASSET = 'juno.storage.error.reserved_asset';\nexport const JUNO_STORAGE_ERROR_BATCH_NOT_FOUND = 'juno.storage.error.batch_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND = 'juno.storage.error.chunk_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH =\n 'juno.storage.error.chunk_not_included_in_batch';\nexport const JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND =\n 'juno.storage.error.chunk_to_commit_not_found';\nexport const JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE =\n 'juno.storage.error.asset_max_allowed_size';\n\nexport const JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER = 'juno.auth.error.not_admin_controller';\nexport const JUNO_AUTH_ERROR_INVALID_ORIGIN = 'juno.auth.error.invalid_origin';\nexport const JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER = 'juno.auth.error.not_write_controller';\nexport const JUNO_AUTH_ERROR_NOT_CONTROLLER = 'juno.auth.error.not_controller';\nexport const JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED = 'juno.auth.error.caller.not_allowed';\nexport const JUNO_AUTH_ERROR_NOT_CONFIGURED = 'juno.auth.error.not_configured';\nexport const JUNO_AUTH_ERROR_OPENID_DISABLED = 'juno.auth.error.openid_disabled';\n\nexport const JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE = 'juno.datastore.error.user.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_INVALID_DATA = 'juno.datastore.error.user.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_CALLER_KEY = 'juno.datastore.error.user.caller_key';\nexport const JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL =\n 'juno.datastore.error.user.key_no_principal';\nexport const JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED = 'juno.datastore.error.user.not_allowed';\nexport const JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH =\n 'juno.datastore.error.user.webauthn.aaguid_invalid_length';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_webauthn_invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.register.provider_invalid_data';\n\nexport const JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH =\n 'juno.auth.error.profile.data.email_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.given_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.family_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.preferred_username_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH =\n 'juno.auth.error.profile.data.locale_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL =\n 'juno.auth.error.profile.data.picture_invalid_url';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME =\n 'juno.auth.error.profile.data.picture_invalid_scheme';\n\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED =\n 'juno.datastore.error.user.usage.change_limit_reached';\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA =\n 'juno.datastore.error.user.usage.invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE =\n 'juno.datastore.error.user.webauthn.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY =\n 'juno.datastore.error.user.webauthn.caller_key';\n", "export const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = 'juno.error.controllers.max_number';\nexport const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED =\n 'juno.error.controllers.anonymous_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED =\n 'juno.error.controllers.revoked_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY = 'juno.error.controllers.admin_no_expire';\nexport const JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST = 'juno.error.controllers.expiry_in_past';\n\nexport const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = 'juno.error.memory.stable_exceeded';\nexport const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = 'juno.error.memory.heap_exceeded';\n\nexport const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = 'juno.error.cycles.deposit_balance_low';\nexport const JUNO_ERROR_CYCLES_DEPOSIT_FAILED = 'juno.error.cycles.deposit_failed';\n\nexport const JUNO_ERROR_CANISTER_CREATE_FAILED = 'juno.error.canister.create_failed';\nexport const JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED = 'juno.error.canister.install_code_failed';\n\nexport const JUNO_ERROR_SEGMENT_STOP_FAILED = 'juno.error.segment.stop_failed';\nexport const JUNO_ERROR_SEGMENT_DELETE_FAILED = 'juno.error.segment.delete_failed';\n\nexport const JUNO_ERROR_CMC_CALL_LEDGER_FAILED = 'juno.error.cmc.call_ledger_failed';\nexport const JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED = 'juno.error.cmc.ledger_transfer_failed';\nexport const JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED =\n 'juno.error.cmc.call_create_canister_failed';\nexport const JUNO_ERROR_CMC_CREATE_CANISTER_FAILED = 'juno.error.cmc.create_canister_failed';\nexport const JUNO_ERROR_CMC_INSTALL_CODE_FAILED = 'juno.error.cmc.install_code_failed';\n\nexport const JUNO_ERROR_INVALID_REGEX = 'juno.error.invalid_regex';\n"],
5
+ "mappings": "wCAAO,IAAMA,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAwC,wCAExCC,EAAwC,wCAExCC,EACX,gDACWC,EACX,sDAEWC,EAAwC,wCACxCC,EACX,gDACWC,EACX,+DAEWC,EAA2C,2CAC3CC,EACX,4CAEWC,EACX,kEACWC,EACX,+DACWC,EACX,2EAEWC,EAA2C,2CAE3CC,EACX,+CAEWC,EACX,sDAEWC,EACX,sDAEWC,EACX,4CClDK,IAAMC,EACX,oDACWC,EAAuC,uCACvCC,EACX,6CACWC,EACX,6CACWC,EACX,yCACWC,EAA8C,mCAC9CC,EAA8C,mCAC9CC,EAAyC,yCCX/C,IAAMC,EAAmC,mCACnCC,EAA0C,0CAC1CC,EAAiC,iCACjCC,EAAwC,wCAExCC,EAAoC,oCACpCC,EAAmC,mCAEnCC,EAAwC,wCACxCC,EAAqC,qCACrCC,EACX,sDACWC,EAAyC,yCACzCC,EAAqC,qCACrCC,EAAuC,uCACvCC,EACX,mDACWC,EAAoC,oCACpCC,EAAqC,qCACrCC,EAAqC,qCACrCC,EACX,iDACWC,EACX,+CACWC,EACX,4CAEWC,EAAuC,uCACvCC,GAAiC,iCACjCC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAqC,qCACrCC,GAAiC,iCACjCC,GAAkC,kCAElCC,GAA0C,0CAC1CC,GAAyC,yCACzCC,GAAuC,uCACvCC,GACX,6CACWC,GAAwC,wCACxCC,GACX,2DACWC,GACX,2DACWC,GACX,oEAEWC,GACX,2DAEWC,GACX,oDACWC,GACX,mDACWC,GACX,yDACWC,GACX,0DACWC,GACX,iEACWC,GACX,qDACWC,GACX,mDACWC,GACX,sDAEWC,GACX,uDACWC,GACX,+CAEWC,GACX,mDACWC,GACX,kDACWC,GACX,gDC9EK,IAAMC,GAAoC,oCACpCC,GACX,+CACWC,GACX,6CACWC,GAAyC,yCACzCC,GAAwC,wCAExCC,GAAoC,oCACpCC,GAAkC,kCAElCC,GAAwC,wCACxCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAA0C,0CAE1CC,GAAiC,iCACjCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAAwC,wCACxCC,GACX,6CACWC,GAAwC,wCACxCC,GAAqC,qCAErCC,GAA2B",
6
+ "names": ["JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH", "JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS", "JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH", "JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION", "JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RESERVED_NAME", "JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED", "JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND", "JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED", "JUNO_ERROR_NO_TIMESTAMP_PROVIDED", "JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE", "JUNO_ERROR_NO_VERSION_PROVIDED", "JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE", "JUNO_DATASTORE_ERROR_CANNOT_WRITE", "JUNO_DATASTORE_ERROR_CANNOT_READ", "JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED", "JUNO_STORAGE_ERROR_SET_NOT_ALLOWED", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH", "JUNO_STORAGE_ERROR_ASSET_NOT_FOUND", "JUNO_STORAGE_ERROR_CANNOT_READ_ASSET", "JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX", "JUNO_STORAGE_ERROR_RESERVED_ASSET", "JUNO_STORAGE_ERROR_BATCH_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH", "JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND", "JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE", "JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER", "JUNO_AUTH_ERROR_INVALID_ORIGIN", "JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER", "JUNO_AUTH_ERROR_NOT_CONTROLLER", "JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED", "JUNO_AUTH_ERROR_NOT_CONFIGURED", "JUNO_AUTH_ERROR_OPENID_DISABLED", "JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_CALLER_KEY", "JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL", "JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED", "JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH", "JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA", "JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME", "JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED", "JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY", "JUNO_ERROR_CONTROLLERS_MAX_NUMBER", "JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY", "JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST", "JUNO_ERROR_MEMORY_STABLE_EXCEEDED", "JUNO_ERROR_MEMORY_HEAP_EXCEEDED", "JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW", "JUNO_ERROR_CYCLES_DEPOSIT_FAILED", "JUNO_ERROR_CANISTER_CREATE_FAILED", "JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED", "JUNO_ERROR_SEGMENT_STOP_FAILED", "JUNO_ERROR_SEGMENT_DELETE_FAILED", "JUNO_ERROR_CMC_CALL_LEDGER_FAILED", "JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED", "JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_INSTALL_CODE_FAILED", "JUNO_ERROR_INVALID_REGEX"]
7
7
  }
@@ -1,4 +1,4 @@
1
1
  import { createRequire as topLevelCreateRequire } from 'module';
2
2
  const require = topLevelCreateRequire(import.meta.url);
3
- var r="juno.cdn.proposals.error.cannot_submit",e="juno.cdn.proposals.error.cannot_submit_invalid_status",R="juno.cdn.proposals.error.cannot_reject",t="juno.cdn.proposals.error.cannot_reject_invalid_status",n="juno.cdn.proposals.error.cannot_commit",O="juno.cdn.proposals.error.cannot_commit_invalid_status",E="juno.cdn.proposals.error.invalid_hash",N="juno.cdn.proposals.error.unknown_type",s="juno.cdn.proposals.error.empty_content_chunks",a="juno.cdn.proposals.error.no_content_chunks_at_index",c="juno.cdn.proposals.error.empty_assets",A="juno.cdn.proposals.error.cannot_delete_assets",T="juno.cdn.proposals.error.cannot_delete_assets_invalid_status",u="juno.cdn.proposals.error.next_id_convert",S="juno.cdn.proposals.error.next_id_overflow",p="juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id",U="juno.cdn.storage.error.cannot_get_asset_unknown_reference_id",l="juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id",L="juno.cdn.storage.error.no_proposal_found",d="juno.cdn.storage.error.invalid_releases_path",i="juno.cdn.storage.error.missing_releases_description",D="juno.cdn.storage.error.invalid_releases_description",I="juno.cdn.storage.error.invalid_collection";var x="juno.collections.error.modify_reserved_collection",j="juno.collections.error.reserved_name",J="juno.collections.error.reserved_collection",P="juno.collections.error.rate_config_enabled",m="juno.collections.error.prefix_deletion",f="juno.collections.error.not_empty",g="juno.collections.error.not_found",M="juno.collections.error.prefix_reserved";var G="juno.error.no_timestamp_provided",V="juno.error.timestamp_outdated_or_future",v="juno.error.no_version_provided",H="juno.error.version_outdated_or_future",F="juno.datastore.error.cannot_write",w="juno.datastore.error.cannot_read",W="juno.storage.error.upload_not_allowed",b="juno.storage.error.set_not_allowed",y="juno.storage.error.cannot_commit_invalid_collection",k="juno.storage.error.cannot_commit_batch",B="juno.storage.error.asset_not_found",Y="juno.storage.error.cannot_read_asset",K="juno.storage.error.upload_path_collection_prefix",X="juno.storage.error.reserved_asset",z="juno.storage.error.batch_not_found",Z="juno.storage.error.chunk_not_found",q="juno.storage.error.chunk_not_included_in_batch",Q="juno.storage.error.chunk_to_commit_not_found",$="juno.storage.error.asset_max_allowed_size",__="juno.auth.error.not_admin_controller",o_="juno.auth.error.invalid_origin",r_="juno.auth.error.not_write_controller",e_="juno.auth.error.not_controller",R_="juno.auth.error.caller.not_allowed",t_="juno.auth.error.not_configured",n_="juno.auth.error.openid_disabled",O_="juno.datastore.error.user.cannot_update",E_="juno.datastore.error.user.invalid_data",N_="juno.datastore.error.user.caller_key",s_="juno.datastore.error.user.key_no_principal",a_="juno.datastore.error.user.not_allowed",c_="juno.datastore.error.user.webauthn.aaguid_invalid_length",A_="juno.datastore.error.user.webauthn.provider_invalid_data",T_="juno.datastore.error.user.webauthn.provider_webauthn_invalid_data",u_="juno.datastore.error.user.register.provider_invalid_data",S_="juno.auth.error.profile.data.email_invalid_length",p_="juno.auth.error.profile.data.name_invalid_length",U_="juno.auth.error.profile.data.given_name_invalid_length",l_="juno.auth.error.profile.data.family_name_invalid_length",L_="juno.auth.error.profile.data.preferred_username_invalid_length",d_="juno.auth.error.profile.data.locale_invalid_length",i_="juno.auth.error.profile.data.picture_invalid_url",D_="juno.auth.error.profile.data.picture_invalid_scheme",I_="juno.datastore.error.user.usage.change_limit_reached",C_="juno.datastore.error.user.usage.invalid_data",x_="juno.datastore.error.user.webauthn.cannot_update",j_="juno.datastore.error.user.webauthn.invalid_data",J_="juno.datastore.error.user.webauthn.caller_key";var m_="juno.error.controllers.max_number",f_="juno.error.controllers.anonymous_not_allowed",g_="juno.error.controllers.revoked_not_allowed",M_="juno.error.memory.stable_exceeded",h_="juno.error.memory.heap_exceeded",G_="juno.error.cycles.deposit_balance_low",V_="juno.error.cycles.deposit_failed",v_="juno.error.canister.create_failed",H_="juno.error.canister.install_code_failed",F_="juno.error.segment.stop_failed",w_="juno.error.segment.delete_failed",W_="juno.error.cmc.call_ledger_failed",b_="juno.error.cmc.ledger_transfer_failed",y_="juno.error.cmc.call_create_canister_failed",k_="juno.error.cmc.create_canister_failed",B_="juno.error.cmc.install_code_failed",Y_="juno.error.invalid_regex";var X_=({error:_,type:o})=>typeof _=="string"?_.includes(o):_ instanceof Error?_.message.includes(o):!1;export{R_ as JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED,o_ as JUNO_AUTH_ERROR_INVALID_ORIGIN,__ as JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER,t_ as JUNO_AUTH_ERROR_NOT_CONFIGURED,e_ as JUNO_AUTH_ERROR_NOT_CONTROLLER,r_ as JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER,n_ as JUNO_AUTH_ERROR_OPENID_DISABLED,S_ as JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH,l_ as JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH,U_ as JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH,d_ as JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH,p_ as JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH,D_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME,i_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL,L_ as JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH,n as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT,O as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS,A as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS,T as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS,R as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT,t as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS,r as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT,e as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS,c as JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS,s as JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS,E as JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH,u as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT,S as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW,a as JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX,N as JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE,U as JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID,l as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID,p as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID,I as JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION,D as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION,d as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH,i as JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION,L as JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND,f as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY,g as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND,m as JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED,x as JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION,M as JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED,P as JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED,J as JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION,j as JUNO_COLLECTIONS_ERROR_RESERVED_NAME,w as JUNO_DATASTORE_ERROR_CANNOT_READ,F as JUNO_DATASTORE_ERROR_CANNOT_WRITE,c_ as JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH,N_ as JUNO_DATASTORE_ERROR_USER_CALLER_KEY,O_ as JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE,E_ as JUNO_DATASTORE_ERROR_USER_INVALID_DATA,s_ as JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL,a_ as JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED,A_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA,T_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA,u_ as JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA,I_ as JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED,C_ as JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA,J_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY,x_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE,j_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA,v_ as JUNO_ERROR_CANISTER_CREATE_FAILED,H_ as JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED,y_ as JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED,W_ as JUNO_ERROR_CMC_CALL_LEDGER_FAILED,k_ as JUNO_ERROR_CMC_CREATE_CANISTER_FAILED,B_ as JUNO_ERROR_CMC_INSTALL_CODE_FAILED,b_ as JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED,f_ as JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED,m_ as JUNO_ERROR_CONTROLLERS_MAX_NUMBER,g_ as JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED,G_ as JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW,V_ as JUNO_ERROR_CYCLES_DEPOSIT_FAILED,Y_ as JUNO_ERROR_INVALID_REGEX,h_ as JUNO_ERROR_MEMORY_HEAP_EXCEEDED,M_ as JUNO_ERROR_MEMORY_STABLE_EXCEEDED,G as JUNO_ERROR_NO_TIMESTAMP_PROVIDED,v as JUNO_ERROR_NO_VERSION_PROVIDED,w_ as JUNO_ERROR_SEGMENT_DELETE_FAILED,F_ as JUNO_ERROR_SEGMENT_STOP_FAILED,V as JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE,H as JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE,$ as JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE,B as JUNO_STORAGE_ERROR_ASSET_NOT_FOUND,z as JUNO_STORAGE_ERROR_BATCH_NOT_FOUND,k as JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH,y as JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION,Y as JUNO_STORAGE_ERROR_CANNOT_READ_ASSET,Z as JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND,q as JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH,Q as JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND,X as JUNO_STORAGE_ERROR_RESERVED_ASSET,b as JUNO_STORAGE_ERROR_SET_NOT_ALLOWED,W as JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED,K as JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX,X_ as isSatelliteError};
3
+ var r="juno.cdn.proposals.error.cannot_submit",e="juno.cdn.proposals.error.cannot_submit_invalid_status",R="juno.cdn.proposals.error.cannot_reject",t="juno.cdn.proposals.error.cannot_reject_invalid_status",n="juno.cdn.proposals.error.cannot_commit",O="juno.cdn.proposals.error.cannot_commit_invalid_status",E="juno.cdn.proposals.error.invalid_hash",N="juno.cdn.proposals.error.unknown_type",s="juno.cdn.proposals.error.empty_content_chunks",a="juno.cdn.proposals.error.no_content_chunks_at_index",c="juno.cdn.proposals.error.empty_assets",A="juno.cdn.proposals.error.cannot_delete_assets",T="juno.cdn.proposals.error.cannot_delete_assets_invalid_status",u="juno.cdn.proposals.error.next_id_convert",p="juno.cdn.proposals.error.next_id_overflow",S="juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id",U="juno.cdn.storage.error.cannot_get_asset_unknown_reference_id",l="juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id",L="juno.cdn.storage.error.no_proposal_found",d="juno.cdn.storage.error.invalid_releases_path",i="juno.cdn.storage.error.missing_releases_description",I="juno.cdn.storage.error.invalid_releases_description",D="juno.cdn.storage.error.invalid_collection";var x="juno.collections.error.modify_reserved_collection",j="juno.collections.error.reserved_name",J="juno.collections.error.reserved_collection",P="juno.collections.error.rate_config_enabled",m="juno.collections.error.prefix_deletion",f="juno.collections.error.not_empty",g="juno.collections.error.not_found",M="juno.collections.error.prefix_reserved";var G="juno.error.no_timestamp_provided",V="juno.error.timestamp_outdated_or_future",v="juno.error.no_version_provided",H="juno.error.version_outdated_or_future",F="juno.datastore.error.cannot_write",w="juno.datastore.error.cannot_read",W="juno.storage.error.upload_not_allowed",b="juno.storage.error.set_not_allowed",y="juno.storage.error.cannot_commit_invalid_collection",Y="juno.storage.error.cannot_commit_batch",k="juno.storage.error.asset_not_found",B="juno.storage.error.cannot_read_asset",K="juno.storage.error.upload_path_collection_prefix",X="juno.storage.error.reserved_asset",z="juno.storage.error.batch_not_found",Z="juno.storage.error.chunk_not_found",q="juno.storage.error.chunk_not_included_in_batch",Q="juno.storage.error.chunk_to_commit_not_found",$="juno.storage.error.asset_max_allowed_size",__="juno.auth.error.not_admin_controller",o_="juno.auth.error.invalid_origin",r_="juno.auth.error.not_write_controller",e_="juno.auth.error.not_controller",R_="juno.auth.error.caller.not_allowed",t_="juno.auth.error.not_configured",n_="juno.auth.error.openid_disabled",O_="juno.datastore.error.user.cannot_update",E_="juno.datastore.error.user.invalid_data",N_="juno.datastore.error.user.caller_key",s_="juno.datastore.error.user.key_no_principal",a_="juno.datastore.error.user.not_allowed",c_="juno.datastore.error.user.webauthn.aaguid_invalid_length",A_="juno.datastore.error.user.webauthn.provider_invalid_data",T_="juno.datastore.error.user.webauthn.provider_webauthn_invalid_data",u_="juno.datastore.error.user.register.provider_invalid_data",p_="juno.auth.error.profile.data.email_invalid_length",S_="juno.auth.error.profile.data.name_invalid_length",U_="juno.auth.error.profile.data.given_name_invalid_length",l_="juno.auth.error.profile.data.family_name_invalid_length",L_="juno.auth.error.profile.data.preferred_username_invalid_length",d_="juno.auth.error.profile.data.locale_invalid_length",i_="juno.auth.error.profile.data.picture_invalid_url",I_="juno.auth.error.profile.data.picture_invalid_scheme",D_="juno.datastore.error.user.usage.change_limit_reached",C_="juno.datastore.error.user.usage.invalid_data",x_="juno.datastore.error.user.webauthn.cannot_update",j_="juno.datastore.error.user.webauthn.invalid_data",J_="juno.datastore.error.user.webauthn.caller_key";var m_="juno.error.controllers.max_number",f_="juno.error.controllers.anonymous_not_allowed",g_="juno.error.controllers.revoked_not_allowed",M_="juno.error.controllers.admin_no_expire",h_="juno.error.controllers.expiry_in_past",G_="juno.error.memory.stable_exceeded",V_="juno.error.memory.heap_exceeded",v_="juno.error.cycles.deposit_balance_low",H_="juno.error.cycles.deposit_failed",F_="juno.error.canister.create_failed",w_="juno.error.canister.install_code_failed",W_="juno.error.segment.stop_failed",b_="juno.error.segment.delete_failed",y_="juno.error.cmc.call_ledger_failed",Y_="juno.error.cmc.ledger_transfer_failed",k_="juno.error.cmc.call_create_canister_failed",B_="juno.error.cmc.create_canister_failed",K_="juno.error.cmc.install_code_failed",X_="juno.error.invalid_regex";var Z_=({error:_,type:o})=>typeof _=="string"?_.includes(o):_ instanceof Error?_.message.includes(o):!1;export{R_ as JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED,o_ as JUNO_AUTH_ERROR_INVALID_ORIGIN,__ as JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER,t_ as JUNO_AUTH_ERROR_NOT_CONFIGURED,e_ as JUNO_AUTH_ERROR_NOT_CONTROLLER,r_ as JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER,n_ as JUNO_AUTH_ERROR_OPENID_DISABLED,p_ as JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH,l_ as JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH,U_ as JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH,d_ as JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH,S_ as JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH,I_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME,i_ as JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL,L_ as JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH,n as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT,O as JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS,A as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS,T as JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS,R as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT,t as JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS,r as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT,e as JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS,c as JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS,s as JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS,E as JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH,u as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT,p as JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW,a as JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX,N as JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE,U as JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID,l as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID,S as JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID,D as JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION,I as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION,d as JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH,i as JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION,L as JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND,f as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY,g as JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND,m as JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED,x as JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION,M as JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED,P as JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED,J as JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION,j as JUNO_COLLECTIONS_ERROR_RESERVED_NAME,w as JUNO_DATASTORE_ERROR_CANNOT_READ,F as JUNO_DATASTORE_ERROR_CANNOT_WRITE,c_ as JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH,N_ as JUNO_DATASTORE_ERROR_USER_CALLER_KEY,O_ as JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE,E_ as JUNO_DATASTORE_ERROR_USER_INVALID_DATA,s_ as JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL,a_ as JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED,A_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA,T_ as JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA,u_ as JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA,D_ as JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED,C_ as JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA,J_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY,x_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE,j_ as JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA,F_ as JUNO_ERROR_CANISTER_CREATE_FAILED,w_ as JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED,k_ as JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED,y_ as JUNO_ERROR_CMC_CALL_LEDGER_FAILED,B_ as JUNO_ERROR_CMC_CREATE_CANISTER_FAILED,K_ as JUNO_ERROR_CMC_INSTALL_CODE_FAILED,Y_ as JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED,M_ as JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY,f_ as JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED,h_ as JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST,m_ as JUNO_ERROR_CONTROLLERS_MAX_NUMBER,g_ as JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED,v_ as JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW,H_ as JUNO_ERROR_CYCLES_DEPOSIT_FAILED,X_ as JUNO_ERROR_INVALID_REGEX,V_ as JUNO_ERROR_MEMORY_HEAP_EXCEEDED,G_ as JUNO_ERROR_MEMORY_STABLE_EXCEEDED,G as JUNO_ERROR_NO_TIMESTAMP_PROVIDED,v as JUNO_ERROR_NO_VERSION_PROVIDED,b_ as JUNO_ERROR_SEGMENT_DELETE_FAILED,W_ as JUNO_ERROR_SEGMENT_STOP_FAILED,V as JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE,H as JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE,$ as JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE,k as JUNO_STORAGE_ERROR_ASSET_NOT_FOUND,z as JUNO_STORAGE_ERROR_BATCH_NOT_FOUND,Y as JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH,y as JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION,B as JUNO_STORAGE_ERROR_CANNOT_READ_ASSET,Z as JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND,q as JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH,Q as JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND,X as JUNO_STORAGE_ERROR_RESERVED_ASSET,b as JUNO_STORAGE_ERROR_SET_NOT_ALLOWED,W as JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED,K as JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX,Z_ as isSatelliteError};
4
4
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/cdn.constants.ts", "../../src/constants/collections.constants.ts", "../../src/constants/satellite.constants.ts", "../../src/constants/shared.constants.ts", "../../src/utils.ts"],
4
- "sourcesContent": ["export const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT = 'juno.cdn.proposals.error.cannot_submit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_submit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT = 'juno.cdn.proposals.error.cannot_reject';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_reject_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT = 'juno.cdn.proposals.error.cannot_commit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_commit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH = 'juno.cdn.proposals.error.invalid_hash';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE = 'juno.cdn.proposals.error.unknown_type';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS =\n 'juno.cdn.proposals.error.empty_content_chunks';\nexport const JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX =\n 'juno.cdn.proposals.error.no_content_chunks_at_index';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS = 'juno.cdn.proposals.error.empty_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS =\n 'juno.cdn.proposals.error.cannot_delete_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_delete_assets_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT = 'juno.cdn.proposals.error.next_id_convert';\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW =\n 'juno.cdn.proposals.error.next_id_overflow';\n\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_get_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id';\n\nexport const JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND = 'juno.cdn.storage.error.no_proposal_found';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH =\n 'juno.cdn.storage.error.invalid_releases_path';\n\nexport const JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.missing_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.invalid_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION =\n 'juno.cdn.storage.error.invalid_collection';\n", "export const JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION =\n 'juno.collections.error.modify_reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_NAME = 'juno.collections.error.reserved_name';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION =\n 'juno.collections.error.reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED =\n 'juno.collections.error.rate_config_enabled';\nexport const JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED =\n 'juno.collections.error.prefix_deletion';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY = 'juno.collections.error.not_empty';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND = 'juno.collections.error.not_found';\nexport const JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED = 'juno.collections.error.prefix_reserved';\n", "export const JUNO_ERROR_NO_TIMESTAMP_PROVIDED = 'juno.error.no_timestamp_provided';\nexport const JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE = 'juno.error.timestamp_outdated_or_future';\nexport const JUNO_ERROR_NO_VERSION_PROVIDED = 'juno.error.no_version_provided';\nexport const JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE = 'juno.error.version_outdated_or_future';\n\nexport const JUNO_DATASTORE_ERROR_CANNOT_WRITE = 'juno.datastore.error.cannot_write';\nexport const JUNO_DATASTORE_ERROR_CANNOT_READ = 'juno.datastore.error.cannot_read';\n\nexport const JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED = 'juno.storage.error.upload_not_allowed';\nexport const JUNO_STORAGE_ERROR_SET_NOT_ALLOWED = 'juno.storage.error.set_not_allowed';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION =\n 'juno.storage.error.cannot_commit_invalid_collection';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH = 'juno.storage.error.cannot_commit_batch';\nexport const JUNO_STORAGE_ERROR_ASSET_NOT_FOUND = 'juno.storage.error.asset_not_found';\nexport const JUNO_STORAGE_ERROR_CANNOT_READ_ASSET = 'juno.storage.error.cannot_read_asset';\nexport const JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX =\n 'juno.storage.error.upload_path_collection_prefix';\nexport const JUNO_STORAGE_ERROR_RESERVED_ASSET = 'juno.storage.error.reserved_asset';\nexport const JUNO_STORAGE_ERROR_BATCH_NOT_FOUND = 'juno.storage.error.batch_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND = 'juno.storage.error.chunk_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH =\n 'juno.storage.error.chunk_not_included_in_batch';\nexport const JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND =\n 'juno.storage.error.chunk_to_commit_not_found';\nexport const JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE =\n 'juno.storage.error.asset_max_allowed_size';\n\nexport const JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER = 'juno.auth.error.not_admin_controller';\nexport const JUNO_AUTH_ERROR_INVALID_ORIGIN = 'juno.auth.error.invalid_origin';\nexport const JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER = 'juno.auth.error.not_write_controller';\nexport const JUNO_AUTH_ERROR_NOT_CONTROLLER = 'juno.auth.error.not_controller';\nexport const JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED = 'juno.auth.error.caller.not_allowed';\nexport const JUNO_AUTH_ERROR_NOT_CONFIGURED = 'juno.auth.error.not_configured';\nexport const JUNO_AUTH_ERROR_OPENID_DISABLED = 'juno.auth.error.openid_disabled';\n\nexport const JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE = 'juno.datastore.error.user.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_INVALID_DATA = 'juno.datastore.error.user.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_CALLER_KEY = 'juno.datastore.error.user.caller_key';\nexport const JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL =\n 'juno.datastore.error.user.key_no_principal';\nexport const JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED = 'juno.datastore.error.user.not_allowed';\nexport const JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH =\n 'juno.datastore.error.user.webauthn.aaguid_invalid_length';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_webauthn_invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.register.provider_invalid_data';\n\nexport const JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH =\n 'juno.auth.error.profile.data.email_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.given_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.family_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.preferred_username_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH =\n 'juno.auth.error.profile.data.locale_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL =\n 'juno.auth.error.profile.data.picture_invalid_url';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME =\n 'juno.auth.error.profile.data.picture_invalid_scheme';\n\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED =\n 'juno.datastore.error.user.usage.change_limit_reached';\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA =\n 'juno.datastore.error.user.usage.invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE =\n 'juno.datastore.error.user.webauthn.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY =\n 'juno.datastore.error.user.webauthn.caller_key';\n", "export const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = 'juno.error.controllers.max_number';\nexport const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED =\n 'juno.error.controllers.anonymous_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED =\n 'juno.error.controllers.revoked_not_allowed';\n\nexport const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = 'juno.error.memory.stable_exceeded';\nexport const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = 'juno.error.memory.heap_exceeded';\n\nexport const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = 'juno.error.cycles.deposit_balance_low';\nexport const JUNO_ERROR_CYCLES_DEPOSIT_FAILED = 'juno.error.cycles.deposit_failed';\n\nexport const JUNO_ERROR_CANISTER_CREATE_FAILED = 'juno.error.canister.create_failed';\nexport const JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED = 'juno.error.canister.install_code_failed';\n\nexport const JUNO_ERROR_SEGMENT_STOP_FAILED = 'juno.error.segment.stop_failed';\nexport const JUNO_ERROR_SEGMENT_DELETE_FAILED = 'juno.error.segment.delete_failed';\n\nexport const JUNO_ERROR_CMC_CALL_LEDGER_FAILED = 'juno.error.cmc.call_ledger_failed';\nexport const JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED = 'juno.error.cmc.ledger_transfer_failed';\nexport const JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED =\n 'juno.error.cmc.call_create_canister_failed';\nexport const JUNO_ERROR_CMC_CREATE_CANISTER_FAILED = 'juno.error.cmc.create_canister_failed';\nexport const JUNO_ERROR_CMC_INSTALL_CODE_FAILED = 'juno.error.cmc.install_code_failed';\n\nexport const JUNO_ERROR_INVALID_REGEX = 'juno.error.invalid_regex';\n", "export const isSatelliteError = ({error, type}: {error: unknown; type: string}): boolean => {\n if (typeof error === 'string') {\n return error.includes(type);\n }\n\n if (error instanceof Error) {\n return error.message.includes(type);\n }\n\n return false;\n};\n"],
5
- "mappings": ";;AAAO,IAAMA,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAwC,wCAExCC,EAAwC,wCAExCC,EACX,gDACWC,EACX,sDAEWC,EAAwC,wCACxCC,EACX,gDACWC,EACX,+DAEWC,EAA2C,2CAC3CC,EACX,4CAEWC,EACX,kEACWC,EACX,+DACWC,EACX,2EAEWC,EAA2C,2CAE3CC,EACX,+CAEWC,EACX,sDAEWC,EACX,sDAEWC,EACX,4CClDK,IAAMC,EACX,oDACWC,EAAuC,uCACvCC,EACX,6CACWC,EACX,6CACWC,EACX,yCACWC,EAA8C,mCAC9CC,EAA8C,mCAC9CC,EAAyC,yCCX/C,IAAMC,EAAmC,mCACnCC,EAA0C,0CAC1CC,EAAiC,iCACjCC,EAAwC,wCAExCC,EAAoC,oCACpCC,EAAmC,mCAEnCC,EAAwC,wCACxCC,EAAqC,qCACrCC,EACX,sDACWC,EAAyC,yCACzCC,EAAqC,qCACrCC,EAAuC,uCACvCC,EACX,mDACWC,EAAoC,oCACpCC,EAAqC,qCACrCC,EAAqC,qCACrCC,EACX,iDACWC,EACX,+CACWC,EACX,4CAEWC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAqC,qCACrCC,GAAiC,iCACjCC,GAAkC,kCAElCC,GAA0C,0CAC1CC,GAAyC,yCACzCC,GAAuC,uCACvCC,GACX,6CACWC,GAAwC,wCACxCC,GACX,2DACWC,GACX,2DACWC,GACX,oEAEWC,GACX,2DAEWC,GACX,oDACWC,GACX,mDACWC,GACX,yDACWC,GACX,0DACWC,GACX,iEACWC,GACX,qDACWC,GACX,mDACWC,GACX,sDAEWC,GACX,uDACWC,GACX,+CAEWC,GACX,mDACWC,GACX,kDACWC,GACX,gDC9EK,IAAMC,GAAoC,oCACpCC,GACX,+CACWC,GACX,6CAEWC,GAAoC,oCACpCC,GAAkC,kCAElCC,GAAwC,wCACxCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAA0C,0CAE1CC,GAAiC,iCACjCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAAwC,wCACxCC,GACX,6CACWC,GAAwC,wCACxCC,GAAqC,qCAErCC,GAA2B,2BCzBjC,IAAMC,GAAmB,CAAC,CAAC,MAAAC,EAAO,KAAAC,CAAI,IACvC,OAAOD,GAAU,SACZA,EAAM,SAASC,CAAI,EAGxBD,aAAiB,MACZA,EAAM,QAAQ,SAASC,CAAI,EAG7B",
6
- "names": ["JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH", "JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS", "JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH", "JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION", "JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RESERVED_NAME", "JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED", "JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND", "JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED", "JUNO_ERROR_NO_TIMESTAMP_PROVIDED", "JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE", "JUNO_ERROR_NO_VERSION_PROVIDED", "JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE", "JUNO_DATASTORE_ERROR_CANNOT_WRITE", "JUNO_DATASTORE_ERROR_CANNOT_READ", "JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED", "JUNO_STORAGE_ERROR_SET_NOT_ALLOWED", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH", "JUNO_STORAGE_ERROR_ASSET_NOT_FOUND", "JUNO_STORAGE_ERROR_CANNOT_READ_ASSET", "JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX", "JUNO_STORAGE_ERROR_RESERVED_ASSET", "JUNO_STORAGE_ERROR_BATCH_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH", "JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND", "JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE", "JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER", "JUNO_AUTH_ERROR_INVALID_ORIGIN", "JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER", "JUNO_AUTH_ERROR_NOT_CONTROLLER", "JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED", "JUNO_AUTH_ERROR_NOT_CONFIGURED", "JUNO_AUTH_ERROR_OPENID_DISABLED", "JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_CALLER_KEY", "JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL", "JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED", "JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH", "JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA", "JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME", "JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED", "JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY", "JUNO_ERROR_CONTROLLERS_MAX_NUMBER", "JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED", "JUNO_ERROR_MEMORY_STABLE_EXCEEDED", "JUNO_ERROR_MEMORY_HEAP_EXCEEDED", "JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW", "JUNO_ERROR_CYCLES_DEPOSIT_FAILED", "JUNO_ERROR_CANISTER_CREATE_FAILED", "JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED", "JUNO_ERROR_SEGMENT_STOP_FAILED", "JUNO_ERROR_SEGMENT_DELETE_FAILED", "JUNO_ERROR_CMC_CALL_LEDGER_FAILED", "JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED", "JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_INSTALL_CODE_FAILED", "JUNO_ERROR_INVALID_REGEX", "isSatelliteError", "error", "type"]
4
+ "sourcesContent": ["export const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT = 'juno.cdn.proposals.error.cannot_submit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_submit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT = 'juno.cdn.proposals.error.cannot_reject';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_reject_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT = 'juno.cdn.proposals.error.cannot_commit';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_commit_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH = 'juno.cdn.proposals.error.invalid_hash';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE = 'juno.cdn.proposals.error.unknown_type';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS =\n 'juno.cdn.proposals.error.empty_content_chunks';\nexport const JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX =\n 'juno.cdn.proposals.error.no_content_chunks_at_index';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS = 'juno.cdn.proposals.error.empty_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS =\n 'juno.cdn.proposals.error.cannot_delete_assets';\nexport const JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS =\n 'juno.cdn.proposals.error.cannot_delete_assets_invalid_status';\n\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT = 'juno.cdn.proposals.error.next_id_convert';\nexport const JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW =\n 'juno.cdn.proposals.error.next_id_overflow';\n\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_get_asset_unknown_reference_id';\nexport const JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID =\n 'juno.cdn.storage.error.cannot_insert_asset_encoding_unknown_reference_id';\n\nexport const JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND = 'juno.cdn.storage.error.no_proposal_found';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH =\n 'juno.cdn.storage.error.invalid_releases_path';\n\nexport const JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.missing_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION =\n 'juno.cdn.storage.error.invalid_releases_description';\n\nexport const JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION =\n 'juno.cdn.storage.error.invalid_collection';\n", "export const JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION =\n 'juno.collections.error.modify_reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_NAME = 'juno.collections.error.reserved_name';\nexport const JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION =\n 'juno.collections.error.reserved_collection';\nexport const JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED =\n 'juno.collections.error.rate_config_enabled';\nexport const JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED =\n 'juno.collections.error.prefix_deletion';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY = 'juno.collections.error.not_empty';\nexport const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND = 'juno.collections.error.not_found';\nexport const JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED = 'juno.collections.error.prefix_reserved';\n", "export const JUNO_ERROR_NO_TIMESTAMP_PROVIDED = 'juno.error.no_timestamp_provided';\nexport const JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE = 'juno.error.timestamp_outdated_or_future';\nexport const JUNO_ERROR_NO_VERSION_PROVIDED = 'juno.error.no_version_provided';\nexport const JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE = 'juno.error.version_outdated_or_future';\n\nexport const JUNO_DATASTORE_ERROR_CANNOT_WRITE = 'juno.datastore.error.cannot_write';\nexport const JUNO_DATASTORE_ERROR_CANNOT_READ = 'juno.datastore.error.cannot_read';\n\nexport const JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED = 'juno.storage.error.upload_not_allowed';\nexport const JUNO_STORAGE_ERROR_SET_NOT_ALLOWED = 'juno.storage.error.set_not_allowed';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION =\n 'juno.storage.error.cannot_commit_invalid_collection';\nexport const JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH = 'juno.storage.error.cannot_commit_batch';\nexport const JUNO_STORAGE_ERROR_ASSET_NOT_FOUND = 'juno.storage.error.asset_not_found';\nexport const JUNO_STORAGE_ERROR_CANNOT_READ_ASSET = 'juno.storage.error.cannot_read_asset';\nexport const JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX =\n 'juno.storage.error.upload_path_collection_prefix';\nexport const JUNO_STORAGE_ERROR_RESERVED_ASSET = 'juno.storage.error.reserved_asset';\nexport const JUNO_STORAGE_ERROR_BATCH_NOT_FOUND = 'juno.storage.error.batch_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND = 'juno.storage.error.chunk_not_found';\nexport const JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH =\n 'juno.storage.error.chunk_not_included_in_batch';\nexport const JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND =\n 'juno.storage.error.chunk_to_commit_not_found';\nexport const JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE =\n 'juno.storage.error.asset_max_allowed_size';\n\nexport const JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER = 'juno.auth.error.not_admin_controller';\nexport const JUNO_AUTH_ERROR_INVALID_ORIGIN = 'juno.auth.error.invalid_origin';\nexport const JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER = 'juno.auth.error.not_write_controller';\nexport const JUNO_AUTH_ERROR_NOT_CONTROLLER = 'juno.auth.error.not_controller';\nexport const JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED = 'juno.auth.error.caller.not_allowed';\nexport const JUNO_AUTH_ERROR_NOT_CONFIGURED = 'juno.auth.error.not_configured';\nexport const JUNO_AUTH_ERROR_OPENID_DISABLED = 'juno.auth.error.openid_disabled';\n\nexport const JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE = 'juno.datastore.error.user.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_INVALID_DATA = 'juno.datastore.error.user.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_CALLER_KEY = 'juno.datastore.error.user.caller_key';\nexport const JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL =\n 'juno.datastore.error.user.key_no_principal';\nexport const JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED = 'juno.datastore.error.user.not_allowed';\nexport const JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH =\n 'juno.datastore.error.user.webauthn.aaguid_invalid_length';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.provider_webauthn_invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA =\n 'juno.datastore.error.user.register.provider_invalid_data';\n\nexport const JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH =\n 'juno.auth.error.profile.data.email_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.given_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.family_name_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH =\n 'juno.auth.error.profile.data.preferred_username_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH =\n 'juno.auth.error.profile.data.locale_invalid_length';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL =\n 'juno.auth.error.profile.data.picture_invalid_url';\nexport const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME =\n 'juno.auth.error.profile.data.picture_invalid_scheme';\n\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED =\n 'juno.datastore.error.user.usage.change_limit_reached';\nexport const JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA =\n 'juno.datastore.error.user.usage.invalid_data';\n\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE =\n 'juno.datastore.error.user.webauthn.cannot_update';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA =\n 'juno.datastore.error.user.webauthn.invalid_data';\nexport const JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY =\n 'juno.datastore.error.user.webauthn.caller_key';\n", "export const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = 'juno.error.controllers.max_number';\nexport const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED =\n 'juno.error.controllers.anonymous_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED =\n 'juno.error.controllers.revoked_not_allowed';\nexport const JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY = 'juno.error.controllers.admin_no_expire';\nexport const JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST = 'juno.error.controllers.expiry_in_past';\n\nexport const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = 'juno.error.memory.stable_exceeded';\nexport const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = 'juno.error.memory.heap_exceeded';\n\nexport const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = 'juno.error.cycles.deposit_balance_low';\nexport const JUNO_ERROR_CYCLES_DEPOSIT_FAILED = 'juno.error.cycles.deposit_failed';\n\nexport const JUNO_ERROR_CANISTER_CREATE_FAILED = 'juno.error.canister.create_failed';\nexport const JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED = 'juno.error.canister.install_code_failed';\n\nexport const JUNO_ERROR_SEGMENT_STOP_FAILED = 'juno.error.segment.stop_failed';\nexport const JUNO_ERROR_SEGMENT_DELETE_FAILED = 'juno.error.segment.delete_failed';\n\nexport const JUNO_ERROR_CMC_CALL_LEDGER_FAILED = 'juno.error.cmc.call_ledger_failed';\nexport const JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED = 'juno.error.cmc.ledger_transfer_failed';\nexport const JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED =\n 'juno.error.cmc.call_create_canister_failed';\nexport const JUNO_ERROR_CMC_CREATE_CANISTER_FAILED = 'juno.error.cmc.create_canister_failed';\nexport const JUNO_ERROR_CMC_INSTALL_CODE_FAILED = 'juno.error.cmc.install_code_failed';\n\nexport const JUNO_ERROR_INVALID_REGEX = 'juno.error.invalid_regex';\n", "export const isSatelliteError = ({error, type}: {error: unknown; type: string}): boolean => {\n if (typeof error === 'string') {\n return error.includes(type);\n }\n\n if (error instanceof Error) {\n return error.message.includes(type);\n }\n\n return false;\n};\n"],
5
+ "mappings": ";;AAAO,IAAMA,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAyC,yCACzCC,EACX,wDAEWC,EAAwC,wCAExCC,EAAwC,wCAExCC,EACX,gDACWC,EACX,sDAEWC,EAAwC,wCACxCC,EACX,gDACWC,EACX,+DAEWC,EAA2C,2CAC3CC,EACX,4CAEWC,EACX,kEACWC,EACX,+DACWC,EACX,2EAEWC,EAA2C,2CAE3CC,EACX,+CAEWC,EACX,sDAEWC,EACX,sDAEWC,EACX,4CClDK,IAAMC,EACX,oDACWC,EAAuC,uCACvCC,EACX,6CACWC,EACX,6CACWC,EACX,yCACWC,EAA8C,mCAC9CC,EAA8C,mCAC9CC,EAAyC,yCCX/C,IAAMC,EAAmC,mCACnCC,EAA0C,0CAC1CC,EAAiC,iCACjCC,EAAwC,wCAExCC,EAAoC,oCACpCC,EAAmC,mCAEnCC,EAAwC,wCACxCC,EAAqC,qCACrCC,EACX,sDACWC,EAAyC,yCACzCC,EAAqC,qCACrCC,EAAuC,uCACvCC,EACX,mDACWC,EAAoC,oCACpCC,EAAqC,qCACrCC,EAAqC,qCACrCC,EACX,iDACWC,EACX,+CACWC,EACX,4CAEWC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAuC,uCACvCC,GAAiC,iCACjCC,GAAqC,qCACrCC,GAAiC,iCACjCC,GAAkC,kCAElCC,GAA0C,0CAC1CC,GAAyC,yCACzCC,GAAuC,uCACvCC,GACX,6CACWC,GAAwC,wCACxCC,GACX,2DACWC,GACX,2DACWC,GACX,oEAEWC,GACX,2DAEWC,GACX,oDACWC,GACX,mDACWC,GACX,yDACWC,GACX,0DACWC,GACX,iEACWC,GACX,qDACWC,GACX,mDACWC,GACX,sDAEWC,GACX,uDACWC,GACX,+CAEWC,GACX,mDACWC,GACX,kDACWC,GACX,gDC9EK,IAAMC,GAAoC,oCACpCC,GACX,+CACWC,GACX,6CACWC,GAAyC,yCACzCC,GAAwC,wCAExCC,GAAoC,oCACpCC,GAAkC,kCAElCC,GAAwC,wCACxCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAA0C,0CAE1CC,GAAiC,iCACjCC,GAAmC,mCAEnCC,GAAoC,oCACpCC,GAAwC,wCACxCC,GACX,6CACWC,GAAwC,wCACxCC,GAAqC,qCAErCC,GAA2B,2BC3BjC,IAAMC,GAAmB,CAAC,CAAC,MAAAC,EAAO,KAAAC,CAAI,IACvC,OAAOD,GAAU,SACZA,EAAM,SAASC,CAAI,EAGxBD,aAAiB,MACZA,EAAM,QAAQ,SAASC,CAAI,EAG7B",
6
+ "names": ["JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_SUBMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_REJECT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_COMMIT_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_INVALID_HASH", "JUNO_CDN_PROPOSALS_ERROR_UNKNOWN_TYPE", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_CONTENT_CHUNKS", "JUNO_CDN_PROPOSALS_ERROR_NOT_CONTENT_CHUNKS_AT_INDEX", "JUNO_CDN_PROPOSALS_ERROR_EMPTY_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS", "JUNO_CDN_PROPOSALS_ERROR_CANNOT_DELETE_ASSETS_INVALID_STATUS", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_CONVERT", "JUNO_CDN_PROPOSALS_ERROR_NEXT_ID_OVERFLOW", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_GET_ASSET_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_CANNOT_INSERT_ASSET_ENCODING_UNKNOWN_REFERENCE_ID", "JUNO_CDN_STORAGE_ERROR_NO_PROPOSAL_FOUND", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_PATH", "JUNO_CDN_STORAGE_ERROR_MISSING_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_RELEASES_DESCRIPTION", "JUNO_CDN_STORAGE_ERROR_INVALID_COLLECTION", "JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RESERVED_NAME", "JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION", "JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED", "JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY", "JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND", "JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED", "JUNO_ERROR_NO_TIMESTAMP_PROVIDED", "JUNO_ERROR_TIMESTAMP_OUTDATED_OR_FUTURE", "JUNO_ERROR_NO_VERSION_PROVIDED", "JUNO_ERROR_VERSION_OUTDATED_OR_FUTURE", "JUNO_DATASTORE_ERROR_CANNOT_WRITE", "JUNO_DATASTORE_ERROR_CANNOT_READ", "JUNO_STORAGE_ERROR_UPLOAD_NOT_ALLOWED", "JUNO_STORAGE_ERROR_SET_NOT_ALLOWED", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_INVALID_COLLECTION", "JUNO_STORAGE_ERROR_CANNOT_COMMIT_BATCH", "JUNO_STORAGE_ERROR_ASSET_NOT_FOUND", "JUNO_STORAGE_ERROR_CANNOT_READ_ASSET", "JUNO_STORAGE_ERROR_UPLOAD_PATH_COLLECTION_PREFIX", "JUNO_STORAGE_ERROR_RESERVED_ASSET", "JUNO_STORAGE_ERROR_BATCH_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_FOUND", "JUNO_STORAGE_ERROR_CHUNK_NOT_INCLUDED_IN_BATCH", "JUNO_STORAGE_ERROR_CHUNK_TO_COMMIT_NOT_FOUND", "JUNO_STORAGE_ERROR_ASSET_MAX_ALLOWED_SIZE", "JUNO_AUTH_ERROR_NOT_ADMIN_CONTROLLER", "JUNO_AUTH_ERROR_INVALID_ORIGIN", "JUNO_AUTH_ERROR_NOT_WRITE_CONTROLLER", "JUNO_AUTH_ERROR_NOT_CONTROLLER", "JUNO_AUTH_ERROR_CALLER_NOT_ALLOWED", "JUNO_AUTH_ERROR_NOT_CONFIGURED", "JUNO_AUTH_ERROR_OPENID_DISABLED", "JUNO_DATASTORE_ERROR_USER_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_CALLER_KEY", "JUNO_DATASTORE_ERROR_USER_KEY_NO_PRINCIPAL", "JUNO_DATASTORE_ERROR_USER_NOT_ALLOWED", "JUNO_DATASTORE_ERROR_USER_AAGUID_INVALID_LENGTH", "JUNO_DATASTORE_ERROR_USER_PROVIDER_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_PROVIDER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_REGISTER_PROVIDER_INVALID_DATA", "JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL", "JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME", "JUNO_DATASTORE_ERROR_USER_USAGE_CHANGE_LIMIT_REACHED", "JUNO_DATASTORE_ERROR_USER_USAGE_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CANNOT_UPDATE", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_INVALID_DATA", "JUNO_DATASTORE_ERROR_USER_WEBAUTHN_CALLER_KEY", "JUNO_ERROR_CONTROLLERS_MAX_NUMBER", "JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED", "JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY", "JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST", "JUNO_ERROR_MEMORY_STABLE_EXCEEDED", "JUNO_ERROR_MEMORY_HEAP_EXCEEDED", "JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW", "JUNO_ERROR_CYCLES_DEPOSIT_FAILED", "JUNO_ERROR_CANISTER_CREATE_FAILED", "JUNO_ERROR_CANISTER_INSTALL_CODE_FAILED", "JUNO_ERROR_SEGMENT_STOP_FAILED", "JUNO_ERROR_SEGMENT_DELETE_FAILED", "JUNO_ERROR_CMC_CALL_LEDGER_FAILED", "JUNO_ERROR_CMC_LEDGER_TRANSFER_FAILED", "JUNO_ERROR_CMC_CALL_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_CREATE_CANISTER_FAILED", "JUNO_ERROR_CMC_INSTALL_CODE_FAILED", "JUNO_ERROR_INVALID_REGEX", "isSatelliteError", "error", "type"]
7
7
  }
@@ -1,6 +1,8 @@
1
1
  export declare const JUNO_ERROR_CONTROLLERS_MAX_NUMBER = "juno.error.controllers.max_number";
2
2
  export declare const JUNO_ERROR_CONTROLLERS_ANONYMOUS_NOT_ALLOWED = "juno.error.controllers.anonymous_not_allowed";
3
3
  export declare const JUNO_ERROR_CONTROLLERS_REVOKED_NOT_ALLOWED = "juno.error.controllers.revoked_not_allowed";
4
+ export declare const JUNO_ERROR_CONTROLLERS_ADMIN_NO_EXPIRY = "juno.error.controllers.admin_no_expire";
5
+ export declare const JUNO_ERROR_CONTROLLERS_EXPIRY_IN_PAST = "juno.error.controllers.expiry_in_past";
4
6
  export declare const JUNO_ERROR_MEMORY_STABLE_EXCEEDED = "juno.error.memory.stable_exceeded";
5
7
  export declare const JUNO_ERROR_MEMORY_HEAP_EXCEEDED = "juno.error.memory.heap_exceeded";
6
8
  export declare const JUNO_ERROR_CYCLES_DEPOSIT_BALANCE_LOW = "juno.error.cycles.deposit_balance_low";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/errors",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A collection of predefined error constants and utilities for Juno applications.",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",