@onekeyfe/react-native-native-list 6.7.0-15 → 6.7.0-17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/android/src/main/java/com/onekey/nativelist/HybridNativeList.kt +14 -1
  2. package/android/src/main/java/com/onekey/nativelist/NativeListAccessoryStack.kt +240 -11
  3. package/android/src/main/java/com/onekey/nativelist/NativeListActivityDetailsView.kt +7 -4
  4. package/android/src/main/java/com/onekey/nativelist/NativeListActivityRenderer.kt +6 -3
  5. package/android/src/main/java/com/onekey/nativelist/NativeListButtonGroupRenderer.kt +102 -0
  6. package/android/src/main/java/com/onekey/nativelist/NativeListContainerSlotAdapter.kt +12 -0
  7. package/android/src/main/java/com/onekey/nativelist/NativeListDataRowRenderer.kt +87 -7
  8. package/android/src/main/java/com/onekey/nativelist/NativeListIdentityRenderer.kt +187 -1
  9. package/android/src/main/java/com/onekey/nativelist/NativeListLeadingVisual.kt +59 -14
  10. package/android/src/main/java/com/onekey/nativelist/NativeListMessageRenderer.kt +25 -0
  11. package/android/src/main/java/com/onekey/nativelist/NativeListModels.kt +47 -2
  12. package/android/src/main/java/com/onekey/nativelist/NativeListPrimitives.kt +22 -0
  13. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRegistry.kt +2 -0
  14. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRowView.kt +2 -0
  15. package/android/src/main/java/com/onekey/nativelist/NativeListResolvedText.kt +3 -2
  16. package/android/src/main/java/com/onekey/nativelist/NativeListSectionHeaderRenderer.kt +69 -0
  17. package/android/src/main/java/com/onekey/nativelist/NativeListTextView.kt +55 -1
  18. package/android/src/main/java/com/onekey/nativelist/NativeListView.kt +1877 -41
  19. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListLeadingVisualClipPolicyTest.kt +44 -0
  20. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListPressPolicyTest.kt +1 -0
  21. package/docs/ROW_TEMPLATES.md +60 -9
  22. package/docs/SPEC.md +434 -5
  23. package/docs/STYLE_SPEC.md +6 -0
  24. package/ios/HybridNativeList.swift +17 -2
  25. package/ios/NativeListAccessoryStack.swift +227 -39
  26. package/ios/NativeListActivityDetailsView.swift +18 -8
  27. package/ios/NativeListActivityRenderer.swift +8 -2
  28. package/ios/NativeListButtonGroupRenderer.swift +89 -0
  29. package/ios/NativeListDataRowRenderer.swift +155 -27
  30. package/ios/NativeListDesignAssets.swift +3 -0
  31. package/ios/NativeListIdentityRenderer.swift +166 -30
  32. package/ios/NativeListLeadingVisual.swift +49 -14
  33. package/ios/NativeListMessageRenderer.swift +34 -1
  34. package/ios/NativeListModels.swift +42 -2
  35. package/ios/NativeListRendererRegistry.swift +1 -0
  36. package/ios/NativeListResolvedText.swift +2 -1
  37. package/ios/NativeListRowHost.swift +14 -0
  38. package/ios/NativeListSectionHeaderRenderer.swift +88 -0
  39. package/ios/RNCNativeListView.swift +1002 -53
  40. package/ios/Resources/NativeListIcons.xcassets/onekey_crypto_coin_outline.imageset/Contents.json +15 -0
  41. package/ios/Resources/NativeListIcons.xcassets/onekey_crypto_coin_outline.imageset/icon.svg +4 -0
  42. package/ios/Resources/NativeListIcons.xcassets/onekey_gas_solid.imageset/Contents.json +15 -0
  43. package/ios/Resources/NativeListIcons.xcassets/onekey_gas_solid.imageset/icon.svg +3 -0
  44. package/ios/Resources/NativeListIcons.xcassets/onekey_refresh_ccw_outline.imageset/Contents.json +15 -0
  45. package/ios/Resources/NativeListIcons.xcassets/onekey_refresh_ccw_outline.imageset/icon.svg +3 -0
  46. package/ios/tests/NativeListActivityPresentationTests.swift +56 -0
  47. package/ios/tests/NativeListLifecycleTests.swift +2494 -3
  48. package/lib/module/NativeList.js +171 -28
  49. package/lib/module/NativeList.web.js +54 -4
  50. package/lib/module/models.js +1 -0
  51. package/lib/module/selection.js +1 -1
  52. package/lib/module/validation.js +331 -8
  53. package/lib/module/web/NativeListWebEngine.js +503 -18
  54. package/lib/module/web/templates/ActivityRowRenderer.js +8 -7
  55. package/lib/module/web/templates/ButtonGroupRowRenderer.js +47 -0
  56. package/lib/module/web/templates/DataRowRenderer.js +40 -5
  57. package/lib/module/web/templates/IdentityRowRenderer.js +90 -4
  58. package/lib/module/web/templates/MessageRowRenderer.js +18 -2
  59. package/lib/module/web/templates/RowContainerStyle.js +1 -0
  60. package/lib/module/web/templates/RowRendererRegistry.js +3 -0
  61. package/lib/module/web/templates/SectionHeaderRowRenderer.js +36 -2
  62. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +26 -0
  63. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -0
  64. package/lib/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -0
  65. package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +20 -0
  66. package/lib/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +14 -0
  67. package/lib/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -0
  68. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -0
  69. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +43 -0
  70. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -0
  71. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -0
  72. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -0
  73. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -0
  74. package/lib/nitrogen/generated/shared/json/NativeListConfig.json +2 -0
  75. package/lib/typescript/src/NativeList.d.ts +1 -1
  76. package/lib/typescript/src/NativeList.nitro.d.ts +2 -0
  77. package/lib/typescript/src/NativeList.types.d.ts +18 -0
  78. package/lib/typescript/src/index.d.ts +1 -1
  79. package/lib/typescript/src/models.d.ts +105 -9
  80. package/lib/typescript/src/validation.d.ts +10 -0
  81. package/lib/typescript/src/web/NativeListWebEngine.d.ts +31 -0
  82. package/lib/typescript/src/web/templates/ButtonGroupRowRenderer.d.ts +14 -0
  83. package/lib/typescript/src/web/templates/IdentityRowRenderer.d.ts +1 -1
  84. package/lib/typescript/src/web/templates/MessageRowRenderer.d.ts +9 -3
  85. package/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +26 -0
  86. package/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -0
  87. package/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -0
  88. package/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +20 -0
  89. package/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +14 -0
  90. package/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -0
  91. package/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -0
  92. package/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +43 -0
  93. package/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -0
  94. package/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -0
  95. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -0
  96. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -0
  97. package/nitrogen/generated/shared/json/NativeListConfig.json +2 -0
  98. package/package.json +3 -3
  99. package/react-native-native-list.podspec +1 -0
  100. package/src/NativeList.nitro.ts +2 -0
  101. package/src/NativeList.tsx +307 -44
  102. package/src/NativeList.types.ts +22 -0
  103. package/src/NativeList.web.tsx +75 -8
  104. package/src/index.ts +1 -0
  105. package/src/models.ts +117 -3
  106. package/src/selection.ts +1 -0
  107. package/src/validation.ts +742 -6
  108. package/src/web/NativeListWebEngine.ts +798 -19
  109. package/src/web/templates/ActivityRowRenderer.ts +14 -6
  110. package/src/web/templates/ButtonGroupRowRenderer.ts +58 -0
  111. package/src/web/templates/DataRowRenderer.ts +93 -20
  112. package/src/web/templates/IdentityRowRenderer.ts +150 -5
  113. package/src/web/templates/MessageRowRenderer.ts +23 -7
  114. package/src/web/templates/RowContainerStyle.ts +2 -0
  115. package/src/web/templates/RowRendererRegistry.ts +11 -1
  116. package/src/web/templates/SectionHeaderRowRenderer.ts +47 -4
package/src/models.ts CHANGED
@@ -185,6 +185,7 @@ export const ROW_BOX_STYLE_KEYS_BY_TYPE = {
185
185
  'trailingGap',
186
186
  'image',
187
187
  ],
188
+ buttonGroup: [],
188
189
  system: ['horizontalPadding', 'verticalPadding', 'lineGap'],
189
190
  } as const;
190
191
 
@@ -201,6 +202,7 @@ type TemplateBoxStyle<T extends keyof typeof ROW_BOX_STYLE_KEYS_BY_TYPE> = Pick<
201
202
  */
202
203
  export type IdentityRowStyle = TemplateBoxStyle<'identity'> &
203
204
  Readonly<{
205
+ leadingContentMaxWidthRatio?: number;
204
206
  title?: NativeListTextStyle;
205
207
  subtitle?: NativeListTextStyle;
206
208
  tertiary?: NativeListTextStyle;
@@ -279,8 +281,16 @@ export type SectionHeaderRowStyle = TemplateBoxStyle<'sectionHeader'> &
279
281
  title?: NativeListTextStyle;
280
282
  subtitle?: NativeListTextStyle;
281
283
  value?: NativeListTextStyle;
284
+ valuePlacement?: 'afterTitle';
285
+ titleDecoration?: 'none' | 'dashed';
282
286
  }>;
283
287
 
288
+ export type RowTextHelp = Readonly<{
289
+ actionKey: string;
290
+ presentation: 'tooltip' | 'popover';
291
+ underline?: 'dashed';
292
+ }>;
293
+
284
294
  export type ActionRowStyle = TemplateBoxStyle<'action'> &
285
295
  Readonly<{
286
296
  title?: NativeListTextStyle;
@@ -344,19 +354,27 @@ export type VisualOverlay = Readonly<{
344
354
  offsetX?: number;
345
355
  offsetY?: number;
346
356
  image?: ImageSource;
357
+ fallbackIcon?: Readonly<{ name: string; tintColor?: string }>;
347
358
  name?: string;
348
359
  text?: string;
360
+ fontWeight?: NativeListTextStyle['fontWeight'];
349
361
  tintColor?: string;
350
362
  backgroundColor?: string;
351
363
  }>;
352
364
 
353
365
  type VisualWithImage = Readonly<{
354
- fallbackIcon?: Readonly<{ name: string; tintColor?: string }>;
366
+ fallbackIcon?: Readonly<{
367
+ name: string;
368
+ tintColor?: string;
369
+ size?: number;
370
+ backgroundColor?: string;
371
+ }>;
355
372
  overlays?: readonly VisualOverlay[];
356
373
  borderStyle?: 'dashed';
357
374
  borderColor?: string;
358
375
  image?: ImageSource;
359
376
  fallbackText?: string;
377
+ fallbackTextColor?: string;
360
378
  backgroundColor?: string;
361
379
  shape?: 'circle' | 'rounded' | 'square';
362
380
  cornerIcon?: Readonly<{
@@ -408,9 +426,26 @@ export type TrailingAccessory =
408
426
  kind: 'valuePair';
409
427
  primary: string;
410
428
  secondary: string;
429
+ primaryFontWeight?: 'medium';
430
+ primaryHelp?: RowTextHelp;
431
+ primaryTextSegments?: readonly ValueTextSegment[];
432
+ secondaryTextSegments?: readonly ValueTextSegment[];
411
433
  primaryTone?: TextTone;
412
434
  secondaryTone?: TextTone;
413
435
  }>
436
+ | Readonly<{
437
+ kind: 'button';
438
+ label: string;
439
+ actionKey: string;
440
+ disabled?: boolean;
441
+ testID?: string;
442
+ accessibilityLabel?: string;
443
+ textColor?: string;
444
+ backgroundColor?: string;
445
+ pressedBackgroundColor?: string;
446
+ hoverBackgroundColor?: string;
447
+ focusRingColor?: string;
448
+ }>
414
449
  | Readonly<{
415
450
  kind: 'checkbox';
416
451
  state: CheckboxState;
@@ -438,6 +473,7 @@ export type TrailingAccessory =
438
473
  kind: 'icon';
439
474
  name: string;
440
475
  tintColor?: string;
476
+ buttonStyle?: 'tertiary';
441
477
  disabled?: boolean;
442
478
  actionKey?: string;
443
479
  testID?: string;
@@ -480,6 +516,10 @@ export type RowBase = Readonly<{
480
516
  export type IdentityRow = RowBase &
481
517
  Readonly<{
482
518
  type: 'identity';
519
+ /** Opt in to content-based height; explicit row/container height still wins. */
520
+ contentHeight?: 'auto';
521
+ /** Emits a row action instead of a press after a successful long press. */
522
+ longPressActionKey?: string;
483
523
  // OneKey patch: UTF-16 ranges match Fuse indices and native attributed strings.
484
524
  titleMatch?: readonly Readonly<{ start: number; end: number }>[];
485
525
  titleActionKey?: string;
@@ -489,11 +529,27 @@ export type IdentityRow = RowBase &
489
529
  leading: LeadingVisual;
490
530
  leadingAction?: Extract<TrailingAccessory, { kind: 'icon' }>;
491
531
  title: string;
532
+ /** Plain 12/16 labels beside the title, preserving independent tones. */
533
+ titleSuffixes?: readonly Readonly<{
534
+ text: string;
535
+ tone: 'secondary' | 'disabled';
536
+ maxWidth?: number;
537
+ }>[];
538
+ titleIcon?: Readonly<{
539
+ name: string;
540
+ tintColor?: string;
541
+ accessibilityLabel?: string;
542
+ /** Web-only anchored help from this icon; does not add a click action. */
543
+ hoverActionKey?: string;
544
+ }>;
545
+ /** Web-only additional help icon after titleIcon. */
546
+ secondaryTitleIcon?: IdentityRow['titleIcon'];
492
547
  subtitle?: string;
493
548
  tertiary?: string;
494
549
  tertiaryTone?: 'secondary' | 'info';
495
550
  titleLines?: 1 | 2;
496
- subtitleLines?: 1 | 2;
551
+ /** Zero displays the complete subtitle. */
552
+ subtitleLines?: 0 | 1 | 2;
497
553
  badges?: readonly BadgeModel[];
498
554
  trailing?: readonly TrailingAccessory[];
499
555
  draggable?: boolean;
@@ -534,6 +590,7 @@ export type ActivityRow = RowBase &
534
590
  Readonly<{
535
591
  type: 'activity';
536
592
  leading: LeadingVisual;
593
+ hideLeading?: boolean;
537
594
  secondaryLeading?: LeadingVisual;
538
595
  title: string;
539
596
  description?: string;
@@ -559,11 +616,14 @@ export type ActivityRow = RowBase &
559
616
  export type MessageRow = RowBase &
560
617
  Readonly<{
561
618
  type: 'message';
619
+ /** Draws only top and bottom container borders when a border is supplied. */
620
+ presentation?: 'inlineWarning';
562
621
  unread?: boolean;
563
622
  leading?: LeadingVisual;
564
623
  title: string;
565
624
  body: string;
566
- bodyLines?: 1 | 2 | 3;
625
+ /** Zero displays the complete body. */
626
+ bodyLines?: 0 | 1 | 2 | 3;
567
627
  time: string;
568
628
  thumbnail?: ImageSource;
569
629
  style?: MessageRowStyle;
@@ -572,8 +632,12 @@ export type MessageRow = RowBase &
572
632
  export type DataColumn = Readonly<{
573
633
  key: string;
574
634
  text: string;
635
+ textSegments?: readonly ValueTextSegment[];
636
+ titleIcon?: IdentityRow['titleIcon'];
637
+ secondaryTitleIcon?: IdentityRow['titleIcon'];
575
638
  secondaryLeadingText?: string;
576
639
  secondaryText?: string;
640
+ secondaryTextSegments?: readonly ValueTextSegment[];
577
641
  weight?: 1 | 2 | 3;
578
642
  alignment?: 'start' | 'center' | 'end';
579
643
  tone?: 'primary' | 'secondary' | 'positive' | 'negative';
@@ -585,6 +649,7 @@ export type DataRow = RowBase &
585
649
  type: 'dataRow';
586
650
  leading?: LeadingVisual;
587
651
  columns: readonly DataColumn[];
652
+ trailing?: readonly TrailingAccessory[];
588
653
  checkbox?: Extract<TrailingAccessory, { kind: 'checkbox' }>;
589
654
  index?: number;
590
655
  badge?: BadgeModel;
@@ -766,9 +831,11 @@ export type SectionHeaderRow = RowBase &
766
831
  indexTitle?: string;
767
832
  variant?: 'summary' | 'gallery' | 'history';
768
833
  title: string;
834
+ leadingBadge?: BadgeModel;
769
835
  titleLoading?: boolean;
770
836
  subtitle?: string;
771
837
  value?: string;
838
+ valueHelp?: RowTextHelp;
772
839
  valueActionKey?: string;
773
840
  titleIcon?: Extract<TrailingAccessory, { kind: 'icon' }>;
774
841
  valueIcon?: Extract<TrailingAccessory, { kind: 'icon' }>;
@@ -789,6 +856,21 @@ export type ActionRow = RowBase &
789
856
  style?: ActionRowStyle;
790
857
  }>;
791
858
 
859
+ export type ButtonGroupRow = RowBase &
860
+ Readonly<{
861
+ type: 'buttonGroup';
862
+ buttons: readonly Readonly<{
863
+ key: string;
864
+ label: string;
865
+ actionKey: string;
866
+ disabled?: boolean;
867
+ loading?: boolean;
868
+ testID?: string;
869
+ accessibilityLabel?: string;
870
+ }>[];
871
+ style?: TemplateBoxStyle<'buttonGroup'>;
872
+ }>;
873
+
792
874
  export type SystemRow = RowBase &
793
875
  Readonly<{ style?: SystemRowStyle }> &
794
876
  (
@@ -841,6 +923,7 @@ export type RowModel =
841
923
  | MetricCardRow
842
924
  | SectionHeaderRow
843
925
  | ActionRow
926
+ | ButtonGroupRow
844
927
  | SystemRow;
845
928
 
846
929
  export type NativeListTheme = Readonly<{
@@ -853,6 +936,8 @@ export type NativeListTheme = Readonly<{
853
936
  rowBackground: string;
854
937
  rowSelectedBackground: string;
855
938
  rowPressedBackground?: string;
939
+ /** Web-only enabled-row hover color; defaults to rowPressedBackground. */
940
+ rowHoverBackground?: string;
856
941
  subduedBackground?: string;
857
942
  strongBackground?: string;
858
943
  /** Web-only background for a displayed declared image fallback. */
@@ -865,6 +950,8 @@ export type NativeListTheme = Readonly<{
865
950
  separator: string;
866
951
  accent: string;
867
952
  positive: string;
953
+ /** Optional exact background for the success tone of section leading badges. */
954
+ successBackground?: string;
868
955
  negative: string;
869
956
  criticalBackground?: string;
870
957
  inverseBackground?: string;
@@ -911,6 +998,16 @@ export type NativeListListStyle = Readonly<{
911
998
  export type NativeListSnapshot = Readonly<{
912
999
  schemaVersion: 1;
913
1000
  generation: number;
1001
+ /** One-shot animation for a user-initiated row-key insertion or removal. */
1002
+ structuralTransition?: Readonly<{
1003
+ id: string;
1004
+ durationMs?: number;
1005
+ anchorKey?: string;
1006
+ }>;
1007
+ disclosure?: Readonly<{
1008
+ expanded: boolean;
1009
+ expandedTrailingInset?: number;
1010
+ }>;
914
1011
  layout: Readonly<{
915
1012
  kind: NativeListLayout;
916
1013
  orientation?: NativeListOrientation;
@@ -968,7 +1065,13 @@ export type RowPatch =
968
1065
  IdentityRow,
969
1066
  | CommonPatchFields
970
1067
  | 'title'
1068
+ | 'titleSuffixes'
1069
+ | 'titleIcon'
1070
+ | 'secondaryTitleIcon'
971
1071
  | 'subtitle'
1072
+ | 'subtitleLines'
1073
+ | 'contentHeight'
1074
+ | 'longPressActionKey'
972
1075
  | 'tertiary'
973
1076
  | 'tertiaryTone'
974
1077
  | 'badges'
@@ -1010,6 +1113,7 @@ export type RowPatch =
1010
1113
  | 'primaryAmount'
1011
1114
  | 'secondaryAmount'
1012
1115
  | 'leading'
1116
+ | 'hideLeading'
1013
1117
  | 'secondaryLeading'
1014
1118
  | 'footerActions'
1015
1119
  >
@@ -1026,6 +1130,7 @@ export type RowPatch =
1026
1130
  | 'title'
1027
1131
  | 'body'
1028
1132
  | 'bodyLines'
1133
+ | 'presentation'
1029
1134
  | 'time'
1030
1135
  | 'thumbnail'
1031
1136
  >
@@ -1040,6 +1145,7 @@ export type RowPatch =
1040
1145
  | CommonPatchFields
1041
1146
  | 'leading'
1042
1147
  | 'columns'
1148
+ | 'trailing'
1043
1149
  | 'checkbox'
1044
1150
  | 'index'
1045
1151
  | 'badge'
@@ -1124,6 +1230,8 @@ export type RowPatch =
1124
1230
  | 'title'
1125
1231
  | 'subtitle'
1126
1232
  | 'value'
1233
+ | 'valueHelp'
1234
+ | 'leadingBadge'
1127
1235
  | 'valueActionKey'
1128
1236
  | 'titleActionKey'
1129
1237
  | 'titleActionOnHover'
@@ -1148,6 +1256,11 @@ export type RowPatch =
1148
1256
  >
1149
1257
  >;
1150
1258
  }>
1259
+ | Readonly<{
1260
+ type: 'buttonGroup';
1261
+ key: string;
1262
+ changes: Partial<Pick<ButtonGroupRow, CommonPatchFields | 'buttons'>>;
1263
+ }>
1151
1264
  | Readonly<{
1152
1265
  type: 'system';
1153
1266
  key: string;
@@ -1164,6 +1277,7 @@ export type NativeListActionSource =
1164
1277
  | 'leadingAction'
1165
1278
  | 'trailingAccessory'
1166
1279
  | 'footerAction'
1280
+ | 'buttonGroup'
1167
1281
  | 'description'
1168
1282
  | 'mediaClose';
1169
1283
 
package/src/selection.ts CHANGED
@@ -39,6 +39,7 @@ export function isRowPressEnabled(row: RowModel): boolean {
39
39
  return (
40
40
  !row.disabled &&
41
41
  !row.pressDisabled &&
42
+ row.type !== 'buttonGroup' &&
42
43
  (row.type !== 'system' || row.variant === 'retry')
43
44
  );
44
45
  }