@@ -480,12 +480,12 @@ function unionToJsonSchema(udt: ScSpecUdtUnionV0): any {
480480
481481/**
482482 * Provides a ContractSpec class which can contains the XDR types defined by the contract.
483- * This allows the class to be used to convert between native and raw `xdr. ScVal`s.
483+ * This allows the class to be used to convert between native and raw `ScVal`s.
484484 *
485485 * Constructs a new ContractSpec from an array of XDR spec entries.
486486 *
487487 * @memberof module:contract
488- * @param {xdr. ScSpecEntry[] | string[] } entries the XDR spec entries
488+ * @param {ScSpecEntry[] | string[] } entries the XDR spec entries
489489 * @throws {Error } if entries is invalid
490490 *
491491 * @example
@@ -527,11 +527,11 @@ export class Spec {
527527
528528 /**
529529 * Generates a Spec instance from contract specs in any of the following forms:
530- * - An XDR encoded stream of xdr. ScSpecEntry entries, the format of the spec
530+ * - An XDR encoded stream of ScSpecEntry entries, the format of the spec
531531 * stored inside Wasm files.
532- * - A base64 XDR encoded stream of xdr. ScSpecEntry entries.
533- * - An array of xdr. ScSpecEntry.
534- * - An array of base64 XDR encoded xdr. ScSpecEntry.
532+ * - A base64 XDR encoded stream of ScSpecEntry entries.
533+ * - An array of ScSpecEntry.
534+ * - An array of base64 XDR encoded ScSpecEntry.
535535 *
536536 * @returns {Promise<module:contract.Client> } A Promise that resolves to a Client instance.
537537 * @throws {Error } If the contract spec cannot be obtained from the provided wasm binary.
@@ -558,7 +558,7 @@ export class Spec {
558558
559559 /**
560560 * Gets the XDR functions from the spec.
561- * @returns {xdr. ScSpecFunctionV0[] } all contract functions
561+ * @returns {ScSpecFunctionV0[] } all contract functions
562562 */
563563 funcs ( ) : ScSpecFunctionV0 [ ] {
564564 return this . entries
@@ -570,7 +570,7 @@ export class Spec {
570570 * Gets the XDR function spec for the given function name.
571571 *
572572 * @param {string } name the name of the function
573- * @returns {xdr. ScSpecFunctionV0 } the function spec
573+ * @returns {ScSpecFunctionV0 } the function spec
574574 *
575575 * @throws {Error } if no function with the given name exists
576576 */
@@ -587,7 +587,7 @@ export class Spec {
587587 *
588588 * @param {string } name the name of the function
589589 * @param {object } args the arguments object
590- * @returns {xdr. ScVal[] } the converted arguments
590+ * @returns {ScVal[] } the converted arguments
591591 *
592592 * @throws {Error } if argument is missing or incorrect type
593593 *
@@ -609,7 +609,7 @@ export class Spec {
609609 * Converts the result ScVal of a function call to a native JS value.
610610 *
611611 * @param {string } name the name of the function
612- * @param {xdr. ScVal | string } val_or_base64 the result ScVal or base64 encoded string
612+ * @param {ScVal | string } val_or_base64 the result ScVal or base64 encoded string
613613 * @returns {any } the converted native value
614614 *
615615 * @throws {Error } if return type mismatch or invalid input
@@ -650,7 +650,7 @@ export class Spec {
650650 * Finds the XDR spec entry for the given name.
651651 *
652652 * @param {string } name the name to find
653- * @returns {xdr. ScSpecEntry } the entry
653+ * @returns {ScSpecEntry } the entry
654654 *
655655 * @throws {Error } if no entry with the given name exists
656656 */
@@ -674,8 +674,8 @@ export class Spec {
674674 * Converts a native JS value to an ScVal based on the given type.
675675 *
676676 * @param {any } val the native JS value
677- * @param {xdr. ScSpecTypeDef } [ty] the expected type
678- * @returns {xdr. ScVal } the converted ScVal
677+ * @param {ScSpecTypeDef } [ty] the expected type
678+ * @returns {ScVal } the converted ScVal
679679 *
680680 * @throws {Error } if value cannot be converted to the given type
681681 */
@@ -973,7 +973,7 @@ export class Spec {
973973 * Converts an base64 encoded ScVal back to a native JS value based on the given type.
974974 *
975975 * @param {string } scv the base64 encoded ScVal
976- * @param {xdr. ScSpecTypeDef } typeDef the expected type
976+ * @param {ScSpecTypeDef } typeDef the expected type
977977 * @returns {any } the converted native JS value
978978 *
979979 * @throws {Error } if ScVal cannot be converted to the given type
@@ -985,8 +985,8 @@ export class Spec {
985985 /**
986986 * Converts an ScVal back to a native JS value based on the given type.
987987 *
988- * @param {xdr. ScVal } scv the ScVal
989- * @param {xdr. ScSpecTypeDef } typeDef the expected type
988+ * @param {ScVal } scv the ScVal
989+ * @param {ScSpecTypeDef } typeDef the expected type
990990 * @returns {any } the converted native JS value
991991 *
992992 * @throws {Error } if ScVal cannot be converted to the given type
0 commit comments