diff --git a/clients/go/quran/quran.go b/clients/go/quran/quran.go index e21f354..2c1481b 100755 --- a/clients/go/quran/quran.go +++ b/clients/go/quran/quran.go @@ -87,7 +87,7 @@ type Result struct { // The associated arabic text Text string `json:"text"` // The related translations to the text - Translations []Translation `json:"translations"` + Translations []Interpretation `json:"translations"` // The unique verse id across the Quran VerseId int32 `json:"verseId"` // The verse key e.g 1:1 diff --git a/clients/go/user/user.go b/clients/go/user/user.go index fcd01fa..f4aa7d9 100755 --- a/clients/go/user/user.go +++ b/clients/go/user/user.go @@ -59,7 +59,7 @@ func (t *UserService) ReadSession(request *ReadSessionRequest) (*ReadSessionResp // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' // The variable will be replaced with an actual url that will look similar to this: -// 'https://user.m3o.com/user/verify?token=a-verification-token&rediretUrl=your-redir-url' +// 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' func (t *UserService) SendVerificationEmail(request *SendVerificationEmailRequest) (*SendVerificationEmailResponse, error) { rsp := &SendVerificationEmailResponse{} return rsp, t.client.Call("user", "SendVerificationEmail", request, rsp) diff --git a/clients/ts/package.json b/clients/ts/package.json index 9830c84..6217534 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -60,5 +60,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "1.0.524" + "version": "1.0.525" } \ No newline at end of file diff --git a/clients/ts/quran/index.ts b/clients/ts/quran/index.ts index 0371e68..77f59a9 100755 --- a/clients/ts/quran/index.ts +++ b/clients/ts/quran/index.ts @@ -87,7 +87,7 @@ export interface Result { // The associated arabic text text?: string; // The related translations to the text - translations?: Translation[]; + translations?: Interpretation[]; // The unique verse id across the Quran verseId?: number; // The verse key e.g 1:1 @@ -161,7 +161,7 @@ export interface Verse { // The basic translation of the verse translatedText?: string; // The alternative translations for the verse - translations?: Translation[]; + translations?: Interpretation[]; // The phonetic transliteration from arabic transliteration?: string; // The individual words within the verse (Ayah) diff --git a/clients/ts/user/index.ts b/clients/ts/user/index.ts index 28eab98..6e5ec17 100755 --- a/clients/ts/user/index.ts +++ b/clients/ts/user/index.ts @@ -53,7 +53,7 @@ export class UserService { // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' // The variable will be replaced with an actual url that will look similar to this: - // 'https://user.m3o.com/user/verify?token=a-verification-token&rediretUrl=your-redir-url' + // 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' sendVerificationEmail( request: SendVerificationEmailRequest ): Promise { diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go index ed2b1c4..f9cc6bc 100755 --- a/examples/db/create/go/createARecord.go +++ b/examples/db/create/go/createARecord.go @@ -11,10 +11,10 @@ func CreateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Create(&db.CreateRequest{ Record: map[string]interface{}{ + "isActive": true, "id": "1", "name": "Jane", "age": 42, - "isActive": true, }, Table: "users", }) diff --git a/examples/stream/publish/go/publishAMessage.go b/examples/stream/publish/go/publishAMessage.go index af88ee1..0f33eac 100755 --- a/examples/stream/publish/go/publishAMessage.go +++ b/examples/stream/publish/go/publishAMessage.go @@ -11,9 +11,9 @@ func PublishAmessage() { streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) rsp, err := streamService.Publish(&stream.PublishRequest{ Message: map[string]interface{}{ + "user": "john", "id": "1", "type": "signup", - "user": "john", }, Topic: "events", }) diff --git a/examples/user/sendVerificationEmail/go/sendVerificationEmail.go b/examples/user/sendVerificationEmail/go/sendVerificationEmail.go index 424a353..5db14f2 100755 --- a/examples/user/sendVerificationEmail/go/sendVerificationEmail.go +++ b/examples/user/sendVerificationEmail/go/sendVerificationEmail.go @@ -12,7 +12,7 @@ import ( // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' // The variable will be replaced with an actual url that will look similar to this: -// 'https://user.m3o.com/user/verify?token=a-verification-token&rediretUrl=your-redir-url' +// 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' func SendVerificationEmail() { userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) rsp, err := userService.SendVerificationEmail(&user.SendVerificationEmailRequest{ diff --git a/examples/user/sendVerificationEmail/node/sendVerificationEmail.js b/examples/user/sendVerificationEmail/node/sendVerificationEmail.js index aa71cde..31fc0d9 100755 --- a/examples/user/sendVerificationEmail/node/sendVerificationEmail.js +++ b/examples/user/sendVerificationEmail/node/sendVerificationEmail.js @@ -6,7 +6,7 @@ import * as user from "m3o/user"; // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' // The variable will be replaced with an actual url that will look similar to this: -// 'https://user.m3o.com/user/verify?token=a-verification-token&rediretUrl=your-redir-url' +// 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' async function SendVerificationEmail() { let userService = new user.UserService(process.env.MICRO_API_TOKEN); let rsp = await userService.sendVerificationEmail({