aldehyde 0.2.117 → 0.2.120

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.
@@ -719,7 +719,9 @@ export default class HcserviceV3 {
719
719
  }
720
720
 
721
721
  static getFileUrl(serverKey: string, path) {
722
- const hydrocarbonToken = Units.hydrocarbonToken(Units.programCode(serverKey));
722
+ const hydrocarbonToken = Units.hydrocarbonToken(
723
+ Units.programCode(serverKey)
724
+ );
723
725
  let url =
724
726
  Units.joinPath(Units.api(serverKey), Units.joinPath("/v3/files", path)) +
725
727
  `?@token=${hydrocarbonToken}&@programToken=${Units.programCode()}`;
@@ -727,7 +729,9 @@ export default class HcserviceV3 {
727
729
  }
728
730
 
729
731
  static getFileTxtUrl(serverKey: string, path) {
730
- const hydrocarbonToken = Units.hydrocarbonToken(Units.programCode(serverKey));
732
+ const hydrocarbonToken = Units.hydrocarbonToken(
733
+ Units.programCode(serverKey)
734
+ );
731
735
  let url =
732
736
  Units.joinPath(
733
737
  Units.api(serverKey),
@@ -832,7 +836,7 @@ export default class HcserviceV3 {
832
836
  kaptchaText,
833
837
  pubkey,
834
838
  programCode?: string,
835
- serverKey?:string
839
+ serverKey?: string
836
840
  ) {
837
841
  let datetime = dayjs(new Date())
838
842
  .tz("Europe/London")